]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 24 Feb 2007 23:37:44 +0000 (23:37 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 24 Feb 2007 23:37:44 +0000 (23:37 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4247 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/backup-bacula-fifo

index d248e7982282c18ce7a396fa6735ef3964b8eac2..bb09ea33474301b0193a0e102d518260fa233f89 100755 (executable)
@@ -16,6 +16,7 @@ scripts/copy-fifo-confs
 echo "${cwd}/build" >/tmp/file-list
 
 change_jobname NightlySave $JobName
+rm -f tmp/log1.out tmp/log2.out
 start_test
 
 
@@ -30,6 +31,7 @@ run job=$JobName yes
 status storage=Dummy
 @sleep 1
 wait
+@sleep 3
 messages
 quit
 END_OF_DATA
@@ -47,11 +49,12 @@ echo "test test" > ${cwd}/build/src/dird/xxx
 cat <<END_OF_DATA >tmp/bconcmds
 @$out /dev/null
 messages
-@$out tmp/log1.out
+@$out tmp/log2.out
 list volumes
 run job=$JobName yes
 wait
 list volumes
+@sleep 3
 messages
 quit
 END_OF_DATA
@@ -62,9 +65,10 @@ stop_bacula
 
 grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
 bstat=$?
+grep "^  Termination: *Backup OK" tmp/log2.out 2>&1 >/dev/null
+dstat=$?
 
 # not yet implemented
-dstat=0
 rstat=0
 
 end_test