]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/experimental-disk-and-tape
regress: Add test to reproduce #3284 with reload command
[bacula/bacula] / regress / experimental-disk-and-tape
index 473aa2c5df9839ddcb4e80c28e9c88c7e372d01f..5d8739eea4706f62add49e224cfb4d7caa8fc497 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # test only the disk based regression scripts
 #
@@ -9,13 +14,14 @@ save_debug=${REGRESS_DEBUG}
 REGRESS_DEBUG=1
 export REGRESS_DEBUG
 rm -rf Testing
-svn update
+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"