From: Eric Bollengier Date: Fri, 2 Oct 2009 07:23:08 +0000 (+0200) Subject: regress: update error messages in accurate-test X-Git-Tag: Release-5.0.0~294^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b32a511bf32e23e01f0176d9df9ed094dfec37fa;p=bacula%2Fbacula regress: update error messages in accurate-test --- diff --git a/regress/tests/accurate-test b/regress/tests/accurate-test index f4fbdbde46..cab181c7f3 100755 --- a/regress/tests/accurate-test +++ b/regress/tests/accurate-test @@ -166,6 +166,7 @@ p Check with bls $bin/bls -c $conf/bacula-sd.conf -V 'TestVolume001' FileStorage > $tmp/bls.out grep -- '----' $tmp/bls.out | grep xxx > /dev/null if [ $? != 0 ] ; then + print_debug "ERROR: Should find deleted files into $tmp/bls.out" bstat=2 fi @@ -412,13 +413,13 @@ run_bconsole grep yyy ${cwd}/tmp/log3.out > /dev/null if [ $? != 0 ] ; then - print_debug "Can't find yyy file into 'list files' output (${cwd}/tmp/log3.out)" + print_debug "ERROR: Can't find yyy file into 'list files' output (${cwd}/tmp/log3.out)" dstat=2 fi -if grep zzz ${cwd}/tmp/log3.out > /dev/null -then - print_debug "Can't find zzz file into 'list files' output (${cwd}/tmp/log3.out)" +grep zzz ${cwd}/tmp/log3.out > /dev/null +if [ $? = 0 ] ; then + print_debug "ERROR: Should not find zzz file into 'list files' output (${cwd}/tmp/log3.out)" dstat=2 fi