]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak regress test
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 30 Jul 2009 17:11:30 +0000 (19:11 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 3 Aug 2009 14:39:19 +0000 (16:39 +0200)
regress/tests/base-job-test

index be537e858a35664f97de4d0e67158bb47af68638..be8f0fa0d68b5b6c014c41a592c6ecb936b91dcc 100755 (executable)
@@ -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