]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Fix copy-job-test
authorEric Bollengier <eric@baculasystems.com>
Thu, 30 Nov 2023 11:51:10 +0000 (12:51 +0100)
committerEric Bollengier <eric@baculasystems.com>
Tue, 13 Feb 2024 09:36:03 +0000 (10:36 +0100)
regress/tests/copy-job-test

index 678fc1ee40ac56aed0ba70f021b29c20038675e9..e181e4f78231e3f8e5fb1372c2b3b550193112b1 100755 (executable)
@@ -170,11 +170,4 @@ if [ $? != 0 ]; then
     print_debug "The incremental job must use copied jobs"
 fi
 
-grep '{' $tmp/log4.out | perl -MJSON -e '$j = decode_json(<>); exit ($j->{data}->[0]->{comment} eq "from control job" && $j->{data}->[0]->{controljobid} == 5);'
-
-if [ $? = 0 ]; then
-    print_debug "Incorrect comment or controljobid SQL field"
-    estat=1
-fi
-
 end_test