diff --git a/bin/named/Makefile.am b/bin/named/Makefile.am index 87e60ddcd5..7065a90b7a 100644 --- a/bin/named/Makefile.am +++ b/bin/named/Makefile.am @@ -47,7 +47,7 @@ xsl.c: bind9.xsl Makefile (echo 'const char xslmsg[] =' && \ $(SED) -e 's,\",\\\",g' \ -e 's,^,\",' \ - -e 's,$$,\",' && \ + -e 's,$$,\\n\",' && \ echo ";") \ < "${srcdir}/bind9.xsl" > $@ diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 02283fd69a..4cb8008180 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -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