]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/nightly-disk-and-tape
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / nightly-disk-and-tape
index 5493b8d1ac6fc2ffe92e94e142b732c0a319a368..35907da739108fdf0120d92692f4386fbb983829 100755 (executable)
@@ -1,21 +1,27 @@
 #!/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-disk-and-tape `date`"
-save_debug=${REGRESS_DEBUG}
 REGRESS_DEBUG=1
 export REGRESS_DEBUG
 rm -rf Testing
-svn update
+rm -f dumps/*
+git pull
+make distclean
 scripts/config_dart
 nice ctest -D Experimental -R "^(disk|tape):"
 rtn=$?
 i=0
 while [ $i -le 5 ]; do
-   if [ $rtn = 0 ] ; then
+   if [ $rtn = 0 ] || [ "$rtn" = "8" ] ; then
       break;
    fi
    echo "Submit failed, waiting 5 mins"
@@ -25,5 +31,4 @@ while [ $i -le 5 ]; do
    rtn=$?
    i=`expr $i + 1`
 done
-REGRESS_DEBUG=${save_debug}
 echo "End nightly-disk-and-tape `date`"