From f5d429e7c32006c40b66b0db063524e4b46a73b5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 22 Dec 2017 16:02:39 +1100 Subject: [PATCH] save why ydump.py failed --- bin/tests/system/dnstap/clean.sh | 1 + bin/tests/system/dnstap/tests.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/dnstap/clean.sh b/bin/tests/system/dnstap/clean.sh index 9930d248e3..37e490b188 100644 --- a/bin/tests/system/dnstap/clean.sh +++ b/bin/tests/system/dnstap/clean.sh @@ -17,3 +17,4 @@ rm -f ns*/dnstap.out rm -f ns*/dnstap.out.save rm -f ns*/dnstap.out.save.? rm -f ns*/named.lock +rm -f ydump.out diff --git a/bin/tests/system/dnstap/tests.sh b/bin/tests/system/dnstap/tests.sh index 3b8d8f2395..1d84dd1a57 100644 --- a/bin/tests/system/dnstap/tests.sh +++ b/bin/tests/system/dnstap/tests.sh @@ -400,7 +400,7 @@ fi if [ $HAS_PYYAML -ne 0 ] ; then echo "I:checking dnstap-read YAML output" ret=0 - $PYTHON ydump.py "$DNSTAPREAD" "ns3/dnstap.out.save" > /dev/null || ret=1 + $PYTHON ydump.py "$DNSTAPREAD" "ns3/dnstap.out.save" > ydump.out || ret=1 if [ $ret != 0 ]; then echo "I: failed"; fi status=`expr $status + $ret` fi