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}"
./clean.sh
cd ../regression-tests.recursor-dnssec
-./runtests || EXIT=1
+./runtests -e SNMP || EXIT=1
./printlogs.py || true
exit $EXIT