]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/concurrent-jobs-test
Update tests
[bacula/bacula] / regress / tests / concurrent-jobs-test
index e15c3ba3c7e7348cc566c0b5904c4e63a1636c76..50da295770e542d465800b7fda8cdec9d7cb7b93 100755 (executable)
@@ -25,8 +25,8 @@ echo "largefile created"
 
 echo " "
 echo " "
-echo " === Starting concurrent-jobs-test  ==="
-echo " === Starting concurrent-jobs-test  ===" >>working/log
+echo " === Starting concurrent-jobs-test at `date +%R:%S` ==="
+echo " === Starting concurrent-jobs-test at `date +%R:%S` ===" >>working/log
 echo " "
 
 bin/bacula start 2>&1 >/dev/null
@@ -58,9 +58,9 @@ END_OF_DATA
 scripts/check_for_zombie_jobs storage=File
 
 bin/bacula stop 2>&1 >/dev/null
-grep "^Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
+grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
 bstat=$?
-grep "^Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
+grep "^  Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
 rstat=$?
 diff tmp/largefile  tmp/bacula-restores${cwd}/tmp/largefile 2>&1 >/dev/null
 if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then