From: Eric Bollengier Date: Tue, 10 Jan 2023 14:07:36 +0000 (+0100) Subject: regress: Fix status-test script X-Git-Tag: Beta-15.0.0~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6153accdd7342cc35f9500f27af189b12a6e9b39;p=thirdparty%2Fbacula.git regress: Fix status-test script --- diff --git a/regress/tests/status-test b/regress/tests/status-test index b7b42f623..046e5442c 100755 --- a/regress/tests/status-test +++ b/regress/tests/status-test @@ -21,10 +21,10 @@ fi # Zap out any schedule in default conf file so that # it doesn't start during our test # -outf="$tmp/sed_tmp" -echo "s% Schedule =%# Schedule =%g" >${outf} -cp $scripts/bacula-dir.conf $tmp/1 -sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf +#outf="$tmp/sed_tmp" +#echo "s% Schedule =%# Schedule =%g" >${outf} +#cp $scripts/bacula-dir.conf $tmp/1 +#sed -f ${outf} $tmp/1 >$scripts/bacula-dir.conf change_jobname BackupClient1 $JobName start_test @@ -116,7 +116,7 @@ if [ $? -ne 0 ]; then estat=1 fi -grep "Scheduled Jobs:" $tmp/log3.out > /dev/null +grep "Scheduled Jobs" $tmp/log3.out > /dev/null if [ $? -ne 0 ]; then print_debug "ERROR: should find 'Scheduled Jobs' in $tmp/log3.out" estat=1