From: Eric Bollengier Date: Thu, 30 Jul 2009 17:11:30 +0000 (+0200) Subject: tweak regress test X-Git-Tag: Release-5.0.0~357 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f123523fbd02bc5a8e2feaed3c04b2441e57837e;p=bacula%2Fbacula tweak regress test --- diff --git a/regress/tests/base-job-test b/regress/tests/base-job-test index be537e858a..be8f0fa0d6 100755 --- a/regress/tests/base-job-test +++ b/regress/tests/base-job-test @@ -93,6 +93,7 @@ run job=base_backup level=base yes wait messages update volume=TestVolume001 volstatus=Used +@$out ${cwd}/tmp/log4.out label volume=TestVolume002 storage=File pool=Default run job=backup level=full yes wait @@ -173,5 +174,12 @@ if [ $? -ne 0 ]; then dstat=2 fi +grep -e 'FD Bytes Written: *0' ${cwd}/tmp/log4.out > /dev/null +if [ $? -ne 0 ]; then + print_debug "The first full job should have 0 byte in log4.out" + bstat=2 +fi + + stop_bacula end_test