From: Kern Sibbald Date: Sun, 23 Sep 2007 18:41:22 +0000 (+0000) Subject: Updates X-Git-Tag: Release-7.0.0~5631 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e81b8463797d576dc222e3a23ad5ffda596f4ff;p=bacula%2Fbacula Updates git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5627 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 721e46e0de..e46599fe77 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -107,6 +107,10 @@ check_two_logs() { grep "^ Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null bstat=$? + grep "^ Termination: *Backup Error" tmp/log1.out 2>&1 >/dev/null + if test $? -eq 0; then + bstat=2 + fi grep "^ Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null rstat=$? grep "^ Termination: *Restore OK -- warning file count mismatch" tmp/log2.out 2>&1 >/dev/null diff --git a/regress/scripts/new-test-bacula-dir.conf.in b/regress/scripts/new-test-bacula-dir.conf.in index 2d5163512b..c4fcdda7ae 100644 --- a/regress/scripts/new-test-bacula-dir.conf.in +++ b/regress/scripts/new-test-bacula-dir.conf.in @@ -364,4 +364,5 @@ Pool { AutoPrune = yes # Prune expired volumes Volume Retention = 365d # one year # Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}" +# Maximum Volume Jobs = 1 }