From: Kern Sibbald Date: Sat, 18 Oct 2008 07:57:36 +0000 (+0000) Subject: Add attempt to recover in catastrophe X-Git-Tag: Release-7.0.0~3914 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cca51b3fddced36605f6e31bab295e5bd693dc61;p=bacula%2Fbacula Add attempt to recover in catastrophe git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7836 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/pretest b/regress/scripts/pretest index b02fb2ba4c..01d4fb26db 100755 --- a/regress/scripts/pretest +++ b/regress/scripts/pretest @@ -22,25 +22,33 @@ start_test run_bacula if [ $? -ne 0 ]; then echo "Error: bconsole error" - error=1 + make distclean + make setup + exit 1 fi bin/bacula-ctl-dir status >/dev/null if [ $? -ne 0 ]; then echo "Error: bacula-dir failed to start" - error=1 + make distclean + make setup + exit 1 fi bin/bacula-ctl-fd status >/dev/null if [ $? -ne 0 ]; then echo "Error: bacula-fd failed to start" - error=1 + make distclean + make setup + exit 1 fi bin/bacula-ctl-sd status >/dev/null if [ $? -ne 0 ]; then echo "Error: bacula-sd failed to start" - error=1 + make distclean + make setup + exit 1 fi stop_bacula