]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check that bind9.xsl is properly transmitted
authorMark Andrews <marka@isc.org>
Sun, 24 Oct 2021 23:06:55 +0000 (10:06 +1100)
committerMark Andrews <marka@isc.org>
Tue, 2 Nov 2021 11:18:45 +0000 (11:18 +0000)
bin/tests/system/statistics/tests.sh

index 02283fd69ab0b01989218809ac576a737e88617d..4cb8008180649f3c7276d85c9a722b80382663e3 100644 (file)
@@ -177,6 +177,7 @@ if $FEATURETEST --have-libxml2 && [ -x "${CURL}" ] && [ -x "${XSLTPROC}" ]  ; th
     $DIGCMD +notcp +recurse @10.53.0.3 soa example > dig.out.test$n.2 2>&1
     ${CURL} http://10.53.0.3:${EXTRAPORT1}/xml/v3 > curl.out.${n}.xml 2>/dev/null || ret=1
     ${CURL} http://10.53.0.3:${EXTRAPORT1}/bind9.xsl > curl.out.${n}.xsl 2>/dev/null || ret=1
+    ${DIFF} ${TOP_SRCDIR}/bin/named/bind9.xsl curl.out.${n}.xsl || ret=1
     ${XSLTPROC} curl.out.${n}.xsl - < curl.out.${n}.xml > xsltproc.out.${n} 2>/dev/null || ret=1
     cp curl.out.${n}.xml stats.xml.out || ret=1