X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Ftests%2Fmaxtime-test;h=0b1de00cd74a0ba407d14a51409624c2d98ae229;hb=c0aaad2cbccdf8a49448666d2ba89ca4fe531ec9;hp=39c20081f80d3ff926e1c74de2edc08e82538d76;hpb=846a112475d38bcb7cc61a2ce711dc6f6fbd3a7c;p=bacula%2Fbacula diff --git a/regress/tests/maxtime-test b/regress/tests/maxtime-test index 39c20081f8..0b1de00cd7 100755 --- a/regress/tests/maxtime-test +++ b/regress/tests/maxtime-test @@ -43,6 +43,7 @@ END_OF_DATA mkfifo ${cwd}/tmp/fifo3) 2> /dev/null run_bacula +check_for_zombie_jobs storage=File stop_bacula rm ${cwd}/tmp/fifo ${cwd}/tmp/fifo2 ${cwd}/tmp/fifo3 @@ -50,6 +51,7 @@ rm ${cwd}/tmp/fifo ${cwd}/tmp/fifo2 ${cwd}/tmp/fifo3 export dstat=0 export bstat=0 export rstat=0 +touch ${cwd}/tmp/log1.out grep -e '1: Fatal error: Max wait time exceeded. Job canceled.' ${cwd}/tmp/RUN_MAXTIME.log >/dev/null if [ $? -eq 0 ]