]> git.sur5r.net Git - bacula/bacula/commitdiff
Force nightly-disk regress to 3.0.3
authorKern Sibbald <kern@sibbald.com>
Fri, 18 Sep 2009 14:20:48 +0000 (16:20 +0200)
committerKern Sibbald <kern@sibbald.com>
Fri, 18 Sep 2009 14:20:48 +0000 (16:20 +0200)
regress/nightly-disk

index a54163b4609c51f8fe7778bb19066bb9b714679e..8a0034c73de85aa416388507e5b85fb3dcb6d4d0 100755 (executable)
@@ -10,6 +10,13 @@ REGRESS_DEBUG=1
 export REGRESS_DEBUG
 rm -rf Testing
 git pull
+#
+# Temp switch to branch 3.0.3
+#
+git checkout `git branch -r | grep "3\.0\.3" | line`
+if [ $? -ne 0 ]; then
+   git checkout master
+fi
 make distclean
 scripts/config_dart
 make setup
@@ -27,5 +34,7 @@ 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`"