]> git.sur5r.net Git - bacula/bacula/commitdiff
Add manual test scripts
authorKern Sibbald <kern@sibbald.com>
Fri, 29 Feb 2008 09:51:26 +0000 (09:51 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 29 Feb 2008 09:51:26 +0000 (09:51 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6520 91ce42f0-d328-0410-95d8-f526ca767f89

regress/all-disk-tests [new file with mode: 0755]
regress/all-tape-tests [new file with mode: 0755]
regress/do_disk [new file with mode: 0755]
regress/do_tape [new file with mode: 0755]

diff --git a/regress/all-disk-tests b/regress/all-disk-tests
new file mode 100755 (executable)
index 0000000..b0c2ea7
--- /dev/null
@@ -0,0 +1,78 @@
+#!/bin/sh
+#
+# Run all tests
+#
+echo " "
+echo " " >>test.out
+echo "Start non-root disk tests"
+echo "Start non-root disk tests" >>test.out
+nice tests/accurate-test
+nice tests/auto-label-test
+nice tests/backup-bacula-test
+nice tests/bextract-test
+nice tests/big-vol-test
+nice tests/bscan-test
+nice tests/bsr-opt-test
+nice tests/compressed-test
+nice tests/compress-encrypt-test
+nice tests/concurrent-jobs-test
+nice tests/data-encrypt-test
+nice tests/encrypt-bug-test
+nice tests/fifo-test
+nice tests/backup-to-null
+nice tests/regexwhere-test
+# The following two can uses *lots* of disk space
+#   so they are normally turned off, but if you have
+#   at least two GB free, you can run them
+#nice tests/sparse-encrypt-test
+#nice tests/gigaslam-sparse-test
+nice tests/differential-test
+nice tests/four-concurrent-jobs-test
+nice tests/four-jobs-test
+nice tests/incremental-test
+nice tests/query-test
+nice tests/recycle-test
+nice tests/restore2-by-file-test
+nice tests/restore-by-file-test
+nice tests/restore-disk-seek-test
+#nice tests/runscript-test
+nice tests/six-vol-test
+nice tests/span-vol-test
+nice tests/maxvol-test
+nice tests/maxvol2-test
+nice tests/sparse-compressed-test
+nice tests/sparse-test
+nice tests/two-jobs-test
+nice tests/two-vol-test
+nice tests/verify-cat-test
+nice tests/verify-vol-test
+nice tests/weird-files2-test
+nice tests/weird-files-test
+nice tests/migration-job-test
+nice tests/migration-jobspan-test
+nice tests/migration-volume-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 autochanger tests" >>test.out
+#nice tests/three-pool-recycle-test
+nice tests/two-pool-test
+nice tests/fast-two-pool-test
+nice tests/two-volume-test
+nice tests/incremental-2disk
+nice tests/2drive-incremental-2disk
+nice tests/scratch-pool-test
+nice tests/2drive-concurrent-test
+nice tests/incremental-2media
+nice tests/three-pool-test
+nice tests/2drive-3pool-test
+echo "End non-root virtual disk autochanger tests"
+echo "End non-root virtual disk autochanger tests" >>test.out
diff --git a/regress/all-tape-tests b/regress/all-tape-tests
new file mode 100755 (executable)
index 0000000..184ab88
--- /dev/null
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# Run all tape tests
+#
+. ./config.out
+if test ! x$AUTOCHANGER = x/dev/null ; then
+   mtx -f $AUTOCHANGER load 1 >/dev/null &2>/dev/null
+fi
+echo " "
+echo " " >>test.out
+echo "Start all tape tests"
+echo "Start all tape tests" >>test.out
+nice tests/ansi-label-1t1d-tape
+nice tests/backup-bacula-1t1d-tape
+#nice tests/btape-fill-full-tape
+nice tests/fixed-block-size-1t1d-tape
+nice tests/four-concurrent-jobs-1t1d-tape
+nice tests/four-jobs-1t1d-tape
+nice tests/incremental-1t1d-tape
+nice tests/relabel-1t1d-tape
+nice tests/restore-by-file-1t1d-tape
+nice tests/small-file-size-1t1d-tape
+nice tests/truncate-bug-1t1d-tape
+nice tests/two-pool-2t1da-tape
+nice tests/2drive-incremental-2t2da-tape
+nice tests/bscan-1t1d-tape
+nice tests/verify-vol-1t1d-tape
+#nice tests/vol-duration-2t1da-tape
+echo "End all tape tests"
+echo "End all tape tests" >>test.out
diff --git a/regress/do_disk b/regress/do_disk
new file mode 100755 (executable)
index 0000000..275e108
--- /dev/null
@@ -0,0 +1,16 @@
+#!/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-disk-tests
+echo " "
+echo "End do_file tests"
+echo "End do_file tests" >>test.out
+scripts/cleanup
+cat test.out
+./endtime
diff --git a/regress/do_tape b/regress/do_tape
new file mode 100755 (executable)
index 0000000..e8f2a94
--- /dev/null
@@ -0,0 +1,16 @@
+#!/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-tape-tests
+echo " "
+echo "End do_file tests"
+echo "End do_file tests" >>test.out
+scripts/cleanup
+cat test.out
+./endtime