]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/do_all_tests
baculum: Add required config fields asterisk mark
[bacula/bacula] / regress / do_all_tests
index 0371a517f56c5a8efb05c8e678161ec8ab65e020..4d4a99f1fa7839fb0d5a12c5a59a9e6306e9d39c 100755 (executable)
@@ -1,14 +1,28 @@
 #!/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
-hostname >>test.out
-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
 ./all-disk-tests
@@ -17,7 +31,8 @@ echo " " >>test.out
 echo " "
 echo "End do_all tests"
 echo "End do_all tests" >>test.out
+./endtime >>test.out
 scripts/cleanup
-hostname >>test.out
 cat test.out
 ./endtime
+date