1 #! /bin/sh 2 3 # 4 # This is the scripts/ directory for rt-test. 5 # It exports variables used during the tests. 6 # 7 #export TESTS_DIR=$(readlink -f $SCRIPTS_DIR/..) 8 9 TESTSUITE_NAME=testcases/realtime 10 if [ -z "$PARENT" ]; then 11 PARENT=${PWD%/$TESTSUITE_NAME*} 12 fi 13 14 export TESTS_DIR=$PARENT/$TESTSUITE_NAME 15 # TEST_REL_DIR is used as a unique id for a test dir 16 export TEST_REL_DIR=${PWD#$TESTS_DIR/} 17 export SCRIPTS_DIR=$TESTS_DIR/scripts 18 export PROFILES_DIR=$TESTS_DIR/profiles 19 export LOG_DIR=$TESTS_DIR/logs 20 export ARGUMENTS_INPUT_ERROR=25 21 export LOG_FORMAT="`hostname -s`-`uname -m`-`uname -r`-`date +%F`" 22 23