From e78af61d87b800e5bff04038aae7a73cc9d7314b Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Thu, 12 Oct 2023 15:20:40 +0200 Subject: [PATCH] Try a couple of times asking rec to quit --- regression-tests.recursor/YAMLConversion/command | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.47.2