]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/nightly-tape
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / nightly-tape
index e4d35171811afb1f87a0865f9ed691d35dc349c7..e0624741b0c0453a37d03d763eaf01bdb1083cdd 100755 (executable)
@@ -1,14 +1,19 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # test only the disk based regression scripts
 #
 # Include full output
 LANG=C
 echo "Begin nightly-tape `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-tape `date`"