]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: sd-sd-test check for "Migration Error"
authorAlain Spineux <alain@baculasystems.com>
Wed, 13 Mar 2024 09:45:06 +0000 (10:45 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 21 Mar 2024 16:20:06 +0000 (17:20 +0100)
regress/tests/sd-sd-test

index 1a8a4f4fd5c67fa8ca0c0e0004239b641e572dfe..318a257bce569dc4b1868acd8f7664c63e57b2ef 100755 (executable)
@@ -150,6 +150,12 @@ stop_bacula
 check_two_logs
 check_restore_diff
 
+grep "Migration Error" $tmp/log1.out > /dev/null
+if [ $? -eq 0 ]; then
+    print_debug "ERROR: shouldn't get a Migration Error in $tmp/log1.out"
+    estat=1
+fi
+
 trap - INT
 
 PID=`cat $cwd/working2/bacula-sd.*.pid`