From: Otto Moerbeek Date: Thu, 12 Oct 2023 13:20:40 +0000 (+0200) Subject: Try a couple of times asking rec to quit X-Git-Tag: rec-5.0.0-alpha2~1^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e78af61d87b800e5bff04038aae7a73cc9d7314b;p=thirdparty%2Fpdns.git Try a couple of times asking rec to quit --- diff --git a/regression-tests.recursor/YAMLConversion/command b/regression-tests.recursor/YAMLConversion/command index 1c759206c1..330dd0fe96 100755 --- a/regression-tests.recursor/YAMLConversion/command +++ b/regression-tests.recursor/YAMLConversion/command @@ -18,8 +18,16 @@ webservice: EOF ${PDNSRECURSOR} --config-dir=. & +set +e +for in in 0 1 2 3 4 5 6 7 8 9; do sleep 1 ${RECCONTROL} --config-dir=. quit-nicely +if [ $? = 0 ]; then + break +fi +done +set -e + diff -u apizones.expected $d2/apizones diff -u allow-from.yml.expected $d2/allow-from.yml diff -u allow-notify-from.yml.expected $d2/allow-notify-from.yml