From: Alain Spineux Date: Wed, 13 Mar 2024 09:45:06 +0000 (+0100) Subject: regress: sd-sd-test check for "Migration Error" X-Git-Tag: Release-15.0.2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba34c0d503597ae475addba87e992c483723e44;p=thirdparty%2Fbacula.git regress: sd-sd-test check for "Migration Error" --- diff --git a/regress/tests/sd-sd-test b/regress/tests/sd-sd-test index 1a8a4f4fd..318a257bc 100755 --- a/regress/tests/sd-sd-test +++ b/regress/tests/sd-sd-test @@ -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`