From cca51b3fddced36605f6e31bab295e5bd693dc61 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 18 Oct 2008 07:57:36 +0000 Subject: [PATCH] Add attempt to recover in catastrophe git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7836 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/pretest | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.39.5