]> 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:03:47 +0000 (16:03 +1100)
(cherry picked from commit f5d429e7c32006c40b66b0db063524e4b46a73b5)

bin/tests/system/dnstap/clean.sh
bin/tests/system/dnstap/tests.sh

index 340338d6d10663e66cd1a0aa0cebf6eb8b4857bb..a1e16ffec562642a52aa645b8dc3fb37a302871d 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 87761926cd6ea9984dd73ce57e027da6fced7882..87bf6d2c65a7767bf0c12f4d46f91f6dfd9acbb4 100644 (file)
@@ -400,7 +400,7 @@ fi
 if [ $HAS_PYYAML ] ; 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