From: Kern Sibbald Date: Thu, 20 Sep 2007 16:06:54 +0000 (+0000) Subject: Check for file count mismatch X-Git-Tag: Release-3.0.0~2491 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1cfbad6b2e726d32d28b2265abfefd2ef140d548;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