From: Kern Sibbald Date: Thu, 20 Sep 2007 16:06:54 +0000 (+0000) Subject: Check for file count mismatch X-Git-Tag: Release-7.0.0~5643 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a9b21b8597ae3ccf95f04f274111ed623d4ab63a;p=bacula%2Fbacula Check for file count mismatch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5611 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 910b57fe04..28c85f3a77 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -109,6 +109,10 @@ check_two_logs() bstat=$? 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 + if test $? -eq 0; then + rstat = 2 + fi } check_restore_diff() diff --git a/regress/tests/ansi-label-tape b/regress/tests/ansi-label-tape index 28cd2325f1..e64ff19a04 100755 --- a/regress/tests/ansi-label-tape +++ b/regress/tests/ansi-label-tape @@ -63,7 +63,7 @@ cat <tmp/bconcmds messages @$out tmp/log1.out list volumes -setdebug level=300 storage=DDS-4 +@#setdebug level=300 storage=DDS-4 run job=$JobName yes wait list volumes