Lines Matching refs:TEST
45 TEST="$2"
48 BASENAME_TEST=$(basename $TEST)
68 if [ ! -e "$TEST" ]; then
69 echo "# Warning: file $TEST is missing!"
73 if [ ! -x "$TEST" ]; then
74 echo "# Warning: file $TEST is not executable"
76 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ]
78 interpreter=$(head -n 1 "$TEST" | cut -c 3-)
85 cd `dirname $TEST` > /dev/null
110 for TEST in "$@"; do
111 BASENAME_TEST=$(basename $TEST)
117 run_one "$DIR" "$TEST" "$test_num"