3 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # rsync top-level test script -- this invokes all the other more
6 # detailed tests in order. This script can either be called by 'make
7 # check' or through 'runlist' from the build farm.
9 # We need a few environment variables to know what to test.
11 echo "============================================================"
14 test_names="rsync-hello hands"
26 for testbase in $test_names
28 testscript="$testsrcdir/$testbase.test"
29 if test \! -f "$testscript"
31 echo "$testscript does not exist" >&2
32 missing=`expr $missing + 1`
36 echo "------------------------------------------------------------"
37 echo "----- $testbase running"
41 echo "----- $testbase completed succesfully"
42 passed=`expr $passed + 1`
44 echo "----- $testbase failed!"
45 failed=`expr $failed + 1`
49 echo '------------------------------------------------------------'
50 echo "----- overall results:"
51 echo " $passed passed"
52 echo " $failed failed"
53 echo " $skipped skipped"
54 echo " $missing missing"
55 echo '------------------------------------------------------------'