]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Revert "regress: Fix restart-reschedule-test"
authorEric Bollengier <eric@baculasystems.com>
Fri, 14 May 2021 07:47:44 +0000 (09:47 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:02 +0000 (09:03 +0100)
This reverts commit 0b1729dc8924dd56535c695a375340c34207e775.

regress/tests/restart-reschedule-test

index bf287744bf7897101671cfc8b0ea258cc1c73710..6d1f2cd792f3089d271e1ce9d0a45ff8e204574a 100755 (executable)
@@ -115,13 +115,13 @@ bstat=`expr $bstat + $?`
 $rscripts/diff.pl -s $cwd/build -d $tmp/bacula-restores4/$cwd/build
 bstat=`expr $bstat + $?`
 
-nb=`grep Cancel $tmp/log4.out | wc -l`
+nb=`grep Incomplete $tmp/log4.out | wc -l`
 if [ "$nb" -ne 1 ]; then
     print_debug "ERROR: Expected 1 incomplete job in status dir output $tmp/log4.out, got $nb"
     estat=1
 fi
 
-nb=`grep ' 5.* A ' $tmp/log4.out | wc -l`
+nb=`grep ' 5.* I ' $tmp/log4.out | wc -l`
 if [ "$nb" -ne 1 ]; then
     print_debug "ERROR: Expected 1 incomplete job in status dir output $tmp/log4.out, got $nb"
     estat=1