]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/nightly-disk
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / nightly-disk
index 8a0034c73de85aa416388507e5b85fb3dcb6d4d0..5229d02d786d341e0d6813ea78adcd184d3becc6 100755 (executable)
@@ -1,22 +1,28 @@
 #!/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 `date`"
-save_debug=${REGRESS_DEBUG}
 REGRESS_DEBUG=1
 export REGRESS_DEBUG
 rm -rf Testing
+rm -f dumps/*
 git pull
 #
-# Temp switch to branch 3.0.3
+# Temp switch to branch Branch-5.0 NB this leaves you on a headless
+#    branch, but it works for building and testing.
 #
-git checkout `git branch -r | grep "3\.0\.3" | line`
-if [ $? -ne 0 ]; then
-   git checkout master
-fi
+#git checkout `git branch -r | grep "5\.0" | head -1`
+#if [ $? -ne 0 ]; then
+#   git checkout master
+#fi
 make distclean
 scripts/config_dart
 make setup
@@ -34,7 +40,4 @@ while [ $i -le 5 ]; do
    rtn=$?
    i=`expr $i + 1`
 done
-# Switch back to master
-git checkout master
-REGRESS_DEBUG=${save_debug}
 echo "End nightly-disk `date`"