mirror of https://github.com/getdnsapi/getdns.git
Scan valgrind logs for errors too
This commit is contained in:
parent
3a1cb30c28
commit
323239be58
|
@ -32,3 +32,9 @@ then
|
||||||
cat output
|
cat output
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if ! awk '/^==.* ERROR SUMMARY/{print;if($4>0)exit(1)}' valgrind.log
|
||||||
|
then
|
||||||
|
cat valgrind.log
|
||||||
|
cat output
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
|
@ -11,6 +11,7 @@ qwerlkjhasdfpuiqwyerm.1234kjhrqwersv.com
|
||||||
-G TXT bogus.nlnetlabs.nl
|
-G TXT bogus.nlnetlabs.nl
|
||||||
-H 8.8.8.8
|
-H 8.8.8.8
|
||||||
-H 2a04:b900:0:100::37
|
-H 2a04:b900:0:100::37
|
||||||
|
-A _acme-challenge.getdnsapi.net
|
||||||
EOT
|
EOT
|
||||||
(
|
(
|
||||||
if ! "${BUILDDIR}/build-stub-only/libtool" exec valgrind -v --log-file=valgrind.log --leak-check=full --error-exitcode=1 --track-origins=yes "${GETDNS_STUB_QUERY}" -F queries -f "${TPKG_NAME}.ds" +dnssec_return_validation_chain
|
if ! "${BUILDDIR}/build-stub-only/libtool" exec valgrind -v --log-file=valgrind.log --leak-check=full --error-exitcode=1 --track-origins=yes "${GETDNS_STUB_QUERY}" -F queries -f "${TPKG_NAME}.ds" +dnssec_return_validation_chain
|
||||||
|
@ -24,3 +25,9 @@ then
|
||||||
cat output
|
cat output
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if ! awk '/^==.* ERROR SUMMARY/{print;if($4>0)exit(1)}' valgrind.log
|
||||||
|
then
|
||||||
|
cat valgrind.log
|
||||||
|
cat output
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue