]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/nightly-all
regress: Add test to reproduce #3284 with reload command
[bacula/bacula] / regress / nightly-all
index 7f817952a8e959fdef9db59f565544e6dfa02f74..28fedae9452b370c80666ee95736c3f86e6b5a72 100755 (executable)
@@ -1,14 +1,19 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # run both the disk and the tape based regression tests.
 #
 # Include full output
 LANG=C
 echo "Begin nightly-all `date`"
-save_debug=${REGRESS_DEBUG}
 REGRESS_DEBUG=1
 export REGRESS_DEBUG
 rm -rf Testing
+rm -f dumps/*
 git pull
 make distclean
 scripts/config_dart
@@ -26,5 +31,4 @@ while [ $i -le 5 ]; do
    rtn=$?
    i=`expr $i + 1`
 done
-REGRESS_DEBUG=${save_debug}
 echo "End nightly-all `date`"