]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
save why ydump.py failed
authorMark Andrews <marka@isc.org>
Fri, 22 Dec 2017 05:02:39 +0000 (16:02 +1100)
committerMark Andrews <marka@isc.org>
Fri, 22 Dec 2017 05:02:39 +0000 (16:02 +1100)
bin/tests/system/dnstap/clean.sh
bin/tests/system/dnstap/tests.sh

index 9930d248e39d85cf012d39566c57b6dedd99ceb2..37e490b188f1b92cf488f39281cf9c400a42ba0f 100644 (file)
@@ -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
index 3b8d8f239514bd407c67e3af26c8f80604c46efe..1d84dd1a57cc792ef278dce4fddb5919b81af2ee 100644 (file)
@@ -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