Lines Matching refs:test
20 test $# -gt 0 || { echo "usage: $0 [--keep] test-directory" >&2; exit 1; }
22 test=$1
25 test -d $test || { echo "$0: $test: no such test" >&2; exit 1; }
27 echo "S:$test:`date`" >&2
28 echo "T:$test:1:A" >&2
29 echo "A:Virtual time test $test" >&2
33 echo "I:Perl not available. Skipping test." >&2
35 echo "E:$test:`date`" >&2
40 echo "I:Network interface aliases not set up. Skipping test." >&2
42 echo "E:$test:`date`" >&2
46 # Check for test-specific prerequisites.
48 test ! -f $test/prereq.sh ||
49 ( cd $test && sh prereq.sh "$@" )
53 echo "I:Prerequisites for $test missing, skipping test." >&2
55 echo "E:$test:`date`" >&2
59 # Set up any dynamically generated test data
60 if test -f $test/setup.sh
62 ( cd $test && sh setup.sh "$@" )
66 $PERL start.pl $test || exit 1
69 ( cd $test ; sh tests.sh )
81 $PERL stop.pl $test
93 if test -f $test/clean.sh
95 ( cd $test && sh clean.sh "$@" )
99 echo "E:$test:`date`"