X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Ffour-jobs-test;h=ec9eb536488662f893b41c971e7dd8f2b6c1d01b;hb=cf9a9b0ca604d6f954f5b003bba822a3589b14c2;hp=2356303c2e9979cdef5985550a9c5c7b64ba1819;hpb=01f68368523775739584ab5f707e785e99c70f4a;p=bacula%2Fbacula diff --git a/regress/tests/four-jobs-test b/regress/tests/four-jobs-test index 2356303c2e..ec9eb53648 100755 --- a/regress/tests/four-jobs-test +++ b/regress/tests/four-jobs-test @@ -11,12 +11,12 @@ echo "${cwd}/build" >/tmp/file-list echo " " echo " " -echo " === Starting four-jobs-test ===" -echo " === Starting four-jobs-test ===" >>working/log +echo " === Starting four-jobs-test at `date +%R:%S` ===" +echo " === Starting four-jobs-test at `date +%R:%S` ===" >>working/log echo " " bin/bacula start 2>&1 >/dev/null -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null estimate job=CompressedTest listing estimate job=CompressedTest listing @@ -38,7 +38,7 @@ touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o # # run a second job # -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null messages @output tmp/log1.out @@ -55,7 +55,7 @@ touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o # # run a third job # -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null messages @output tmp/log1.out @@ -72,7 +72,7 @@ touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o # # run a fourth job # -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null messages @output tmp/log1.out @@ -87,7 +87,7 @@ echo "Backup 4 done" # # now do several restores to ensure we cleanup between jobs # -bin/bconsole -c bin/bconsole.conf <&1 >/dev/null @output /dev/null restore where=${cwd}/tmp/bacula-restores select all storage=File done yes @@ -108,9 +108,9 @@ quit 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 -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then