]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/experimental-disk-and-tape
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / experimental-disk-and-tape
index ec45086468b270e86f35c9c8c1927458f0c986b8..5d8739eea4706f62add49e224cfb4d7caa8fc497 100755 (executable)
@@ -1,19 +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 experimental-disk-and-tape `date`"
 save_debug=${REGRESS_DEBUG}
 REGRESS_DEBUG=1
 export REGRESS_DEBUG
-svn update
+rm -rf Testing
+rm -f dumps/*
+git pull
 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"