]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix statistics system test on Oracle Linux 7
authorMichal Nowak <mnowak@isc.org>
Fri, 3 Jun 2022 11:12:22 +0000 (13:12 +0200)
committerMichal Nowak <mnowak@isc.org>
Tue, 14 Jun 2022 07:38:07 +0000 (09:38 +0200)
commit49cb8969292b4acec61ca2b2ea10f56522bfc2fe
tree6e49d05fe8118707b75b8ebad160caef26dde498
parenta3731e9d065a22879626fa7bf309c1a82f065bc7
Fix statistics system test on Oracle Linux 7

The statistics system test fails on Oracle Linux 7 when libxml2, Curl,
and xsltproc are present:

    I:statistics:checking bind9.xsl vs xml (17)
    diff: curl.out.17.xsl: No such file or directory
    tests.sh: line 183: curl.out.17.xml: No such file or directory
    cp: cannot stat 'curl.out.17.xml': No such file or directory
    grep: xsltproc.out.17: No such file or directory

This is because the Oracle Linux 7 Curl does not know about the
--http1.1 option and silently fails with:

    + /usr/bin/curl --http1.1 http://10.53.0.3:7252
    curl: option --http1.1: is unknown
    curl: try 'curl --help' or 'curl --manual' for more information

The following test "checking bind9.xml socket statistics" then needs to
check for existence of stats.xml.out file which is artifact of the
previous test.
bin/tests/system/statistics/tests.sh