bind9/bin/tests/system/statistics
Michal Nowak 152343e221
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.

(cherry picked from commit 49cb896929)
2022-06-14 09:42:02 +02:00
..
ans4 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ns1 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ns2 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ns3 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
clean.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests.sh Fix statistics system test on Oracle Linux 7 2022-06-14 09:42:02 +02:00