Lines Matching refs:TEST
46 TEST="$2"
49 BASENAME_TEST=$(basename $TEST)
69 if [ ! -e "$TEST" ]; then
70 echo "# Warning: file $TEST is missing!"
74 if [ ! -x "$TEST" ]; then
75 echo "# Warning: file $TEST is not executable"
77 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
79 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
86 cd `dirname $TEST` > /dev/null
111 for TEST in "$@"; do
112 BASENAME_TEST=$(basename $TEST)
118 run_one "$DIR" "$TEST" "$test_num"