2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

save why ydump.py failed

This commit is contained in:
Mark Andrews 2017-12-22 16:02:39 +11:00
parent f933be6d45
commit f5d429e7c3
2 changed files with 2 additions and 1 deletions

View 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*/dnstap.out.save.? rm -f ns*/dnstap.out.save.?
rm -f ns*/named.lock rm -f ns*/named.lock
rm -f ydump.out

View File

@ -400,7 +400,7 @@ fi
if [ $HAS_PYYAML -ne 0 ] ; then if [ $HAS_PYYAML -ne 0 ] ; then
echo "I:checking dnstap-read YAML output" echo "I:checking dnstap-read YAML output"
ret=0 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 if [ $ret != 0 ]; then echo "I: failed"; fi
status=`expr $status + $ret` status=`expr $status + $ret`
fi fi