]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/do_all_tests
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / do_all_tests
index 76d4bc3c712f3bddd4415df3672c7c3c2b4a91ad..4d4a99f1fa7839fb0d5a12c5a59a9e6306e9d39c 100755 (executable)
@@ -1,20 +1,38 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2017 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 ./starttime
 if [ ! -f bin/tape_options ] ; then
   touch bin/tape_options
 fi
 echo " " >test.out
-cat build/config.out >>test.out
+if [ x$PREBUILT != xyes ]; then
+  git status >>test.out 2>&1
+  cat build/config.out >>test.out
+fi
 echo " " >>test.out
-echo "Test results" >>test.out
+if [ x$FORCE_DEDUP = xyes ]; then
+  echo "Test results with dedup" >>test.out
+elif [ x$FORCE_ALIGNED = xyes ]; then
+  echo "Test results with aligned" >>test.out
+elif [ x$FORCE_CLOUD = xyes ]; then
+  echo "Test results with cloud" >>test.out
+else
+  echo "Test results" >>test.out
+fi
 echo " " >>test.out
 ./starttime
-nice ./all-non-root-tests
-nice ./all-non-root-tape-tests
-nice ./all-non-root-2tape-tests
+./all-disk-tests
+./all-tape-tests
+./all-changer-tests
 echo " "
 echo "End do_all tests"
 echo "End do_all tests" >>test.out
+./endtime >>test.out
 scripts/cleanup
 cat test.out
 ./endtime
+date