]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - build-scripts/test-recursor
Merge pull request #8737 from Habbie/circleci-pager
[thirdparty/pdns.git] / build-scripts / test-recursor
index 0fcfc9db7cceb80a792887f66f8bdb9a783d5863..9f7b35a672a15f25f18f7e9586bd8f7716fd7ea4 100755 (executable)
@@ -46,7 +46,7 @@ sleep 3
 svstat configs/*
 ## prints the logs of supervised processes reported as running for less than 3 secs
 for config in configs/* ; do
-    secs=$(svstat ${config} | awk 'match($0, /([0-9]+) seconds/, r) { print r[1] }')
+    secs=$(svstat ${config} | perl -pe 's!.* (\d+) seconds!\1!')
     if [ -n "${secs}" ] && [ ${secs} -lt 3 ] ; then
         echo "-----------------"
         echo "Logs of ${config}"
@@ -60,7 +60,7 @@ sleep 3
 ./clean.sh
 
 cd ../regression-tests.recursor-dnssec
-./runtests || EXIT=1
+./runtests -e SNMP || EXIT=1
 ./printlogs.py || true
 
 exit $EXIT