From f123523fbd02bc5a8e2feaed3c04b2441e57837e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 30 Jul 2009 19:11:30 +0200 Subject: [PATCH] tweak regress test --- regress/tests/base-job-test | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5