mirror of https://github.com/getdnsapi/getdns.git
5th time's a charm
This commit is contained in:
parent
255e60cdcd
commit
091d41dfe0
|
@ -18,13 +18,9 @@ EOT
|
|||
exit 1
|
||||
fi
|
||||
) 2>&1 > output
|
||||
echo '**************************************'
|
||||
echo '************** hiero ***************'
|
||||
echo '************** ***************'
|
||||
awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' valgrind.log
|
||||
echo '************** ***************'
|
||||
echo '************** hiero ***************'
|
||||
echo '**************************************'
|
||||
cat valgrind.log
|
||||
cat output
|
||||
exit 1
|
||||
if ! awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' valgrind.log
|
||||
then
|
||||
cat valgrind.log
|
||||
cat output
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -13,9 +13,14 @@ qwerlkjhasdfpuiqwyerm.1234kjhrqwersv.com
|
|||
-H 2a04:b900:0:100::37
|
||||
EOT
|
||||
(
|
||||
if ! "${BUILDDIR}/build-stub-only/libtool" exec valgrind -v --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
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
) 2>&1 | tee output
|
||||
awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' output
|
||||
) 2>&1 > output
|
||||
if ! awk '/^==.*(definitely|indirectly|possibly) lost/{print;if($4>0)exit(1)}' valgrind.log
|
||||
then
|
||||
cat valgrind.log
|
||||
cat output
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
export SRCDIR=`dirname $0`
|
||||
. `dirname $0`/setup-env.sh
|
||||
|
||||
for TEST_PKG in ${SRCDIR}/125-*.tpkg
|
||||
for TEST_PKG in ${SRCDIR}/*.tpkg
|
||||
do
|
||||
"${TPKG}" $* exe "${TEST_PKG}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue