]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Fix status-test script
authorEric Bollengier <eric@baculasystems.com>
Tue, 10 Jan 2023 14:07:36 +0000 (15:07 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
regress/tests/status-test

index b7b42f623e2c42c2f2b45d341da7146f1764b406..046e5442ccfde442ce719164186d9ba9893d3db2 100755 (executable)
@@ -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