From: Michal Rakowski Date: Tue, 4 May 2021 20:40:48 +0000 (+0200) Subject: regress: tweak stop-waiting-for-res-job X-Git-Tag: Release-11.3.2~471 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17fbc77594b8135862a40c729d3a43182955a325;p=thirdparty%2Fbacula.git regress: tweak stop-waiting-for-res-job --- diff --git a/regress/tests/stop-waiting-for-res-job-test b/regress/tests/stop-waiting-for-res-job-test index 250246a1b..a3d99fcef 100755 --- a/regress/tests/stop-waiting-for-res-job-test +++ b/regress/tests/stop-waiting-for-res-job-test @@ -49,7 +49,7 @@ END_OF_DATA run_bacula #Check if job was stopped correctly -n_lines=`cat $tmp/log3.out | tr -s ' ' | grep "Termination: Backup Canceled" | wc -l` +n_lines=`cat $tmp/log3.out | tr -s ' ' | grep "Termination: Backup failed -- Incomplete" | wc -l` if [ $n_lines -ne 2 ]; then estat=1 print_debug "Job not stopped as expected (cancelled jobs: ${n_lines}). See ${tmp}/log3.out"