#
# Run all tape tests
#
-nice tests/test0
+echo "Start two tape tests"
+echo "Start two tape tests" >>test.out
nice tests/two-volume-tape
nice tests/incremental-2tape
-echo " "
-echo " "
-echo "2 Tape Test results"
-cat build/config.out
-cat test.out
-scripts/cleanup
+echo "End two tape tests"
+echo "End two tape tests" >>test.out
if test ! x$AUTOCHANGER = x/dev/null ; then
mtx -f $AUTOCHANGER load 1 >/dev/null &2>/dev/null
fi
-cp test.out test1.out
-nice tests/test0
+echo " "
+echo " " >>test.out
+echo "Start all non-root tape tests"
+echo "Start all non-root tape tests" >>test.out
nice tests/backup-bacula-tape
nice tests/btape-fill-tape
nice tests/fixed-block-size-tape
nice tests/2drive-incremental-2tape
nice tests/bscan-tape
nice tests/verify-vol-tape
-echo " "
-echo " "
-echo "Test results"
-cat build/config.out
-cat test.out
-scripts/cleanup
+echo "End all non-root tape tests"
+echo "End all non-root tape tests" >>test.out
#
# Run all tests
#
-rm -f test1.out
-tests/test0
echo " "
+echo " " >>test.out
+echo "Start non-root disk tests"
+echo "Start non-root disk tests" >>test.out
nice tests/auto-label-test
nice tests/backup-bacula-test
nice tests/bextract-test
nice tests/migration-time-test
nice tests/hardlink-test
nice tests/tls-test
+echo "End non-root disk tests"
+echo "End non-root disk tests" >>test.out
+
#
# The following are Virtual Disk Autochanger tests
+echo " "
+echo " " >>test.out
+echo "Start non-root virtual disk autochanger tests"
+echo "Start non-root virtual disk autochangertests" >>test.out
#nice tests/three-pool-recycle-test
nice tests/two-pool-test
nice tests/fast-two-pool-test
nice tests/incremental-2media
nice tests/three-pool-test
nice tests/2drive-3pool-test
-echo " "
-echo "Test results"
-cat build/config.out
-cat test.out
-scripts/cleanup
+echo "End non-root virtual disk autochanger tests"
+echo "End non-root virtual disk autochangertests" >>test.out
#
# Run all root tests
#
-rm -f test.out
+echo " "
+echo " " >>test.out
+echo "Start root tests"
+echo "Start root tests" >>test.out
tests/dev-test-root
tests/etc-test-root
tests/lib-test-root
tests/usr-tape-root
-cat build/config.out
-cat test.out
-scripts/cleanup
+echo "End root tests"
+echo "End root tests" >>test.out
# Run all tests
#
./all-non-root-tests
-./endtime
./all-non-root-tape-tests
#
./all-non-root-tests
./all-root-tests
-cat build/config.out
-cat test.out
-scripts/cleanup
if [ ! -f bin/tape_options ] ; then
touch bin/tape_options
fi
+echo " " >test.out
+cat build/config.out >>test.out
+echo " " >>test.out
+echo "Test results" >>test.out
+echo " " >>test.out
+./starttime
nice ./all-non-root-tests
-
nice ./all-non-root-tape-tests
nice ./all-non-root-2tape-tests
+echo " "
+echo "End do_all tests"
+echo "End do_all tests" >>test.out
+scripts/cleanup
+cat test.out
./endtime
#!/bin/sh
# /home/kern/bacula/bin/startmysql
nice make setup
+echo " " >test.out
+cat build/config.out >>test.out
+echo " " >>test.out
+echo "Test results" >>test.out
+echo " " >>test.out
./starttime
nice ./all-non-root-tests
+echo " "
+echo "End do_file tests"
+echo "End do_file tests" >>test.out
+scripts/cleanup
+cat test.out
./endtime