From a72b876cf8f7c01ab2d3808a168ef16620498298 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 25 Jul 2021 18:40:16 +1000 Subject: Impl htbt M2M binary update and bug fixes ... * Change signature of tmpfile() cb * Add PRNE_DATA_KEY_VER_MAT * Add prne_try_alloc_iobuf() * Fix htbt: don't run cncp when both resolv and cnc_txtrec are not passed * Impl upbin cb on proone-bne * Fix proone-htbtclient: content of status frame was discarded * htbt is now responsible for setting FD_CLOEXEC on temp files * Changes in mttools for valgrind run * Add proone-test_iobuf * Fix event leak in resolv * src/test-resolv.sh: run proone-resolv on valgrind * Add prne_cmp_uuid_asc() and prne_cmp_uuid_desc() for version matrix * --- src/test-resolv.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/test-resolv.sh') diff --git a/src/test-resolv.sh b/src/test-resolv.sh index c10d305..e18f72c 100755 --- a/src/test-resolv.sh +++ b/src/test-resolv.sh @@ -8,15 +8,15 @@ assert_ec () { echo "OK" >&2 fi } -SUBJECT_EXEC="./proone-resolv" +SUBJECT_EXEC="valgrind --leak-check=full --show-leak-kinds=all -- ./proone-resolv" -echo "a example.com" | "$SUBJECT_EXEC" +echo "a example.com" | $SUBJECT_EXEC assert_ec $? 0 "Single NOERROR execution" -echo "a example.test" | "$SUBJECT_EXEC" +echo "a example.test" | $SUBJECT_EXEC assert_ec $? 0 "Single NXDOMAIN execution" -cat << EOF | "$SUBJECT_EXEC" +cat << EOF | $SUBJECT_EXEC ; Queue more than RESOLV_PIPELINE_SIZE(4) a example.com aaaa example.com @@ -31,7 +31,7 @@ aaaa www.kernel.org EOF assert_ec $? 0 "Queue congestion" -cat << EOF | "$SUBJECT_EXEC" +cat << EOF | $SUBJECT_EXEC aaaa example.com txt example.test EOF -- cgit