]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use FEATURETEST variable instead of a path
authorMichal Nowak <mnowak@isc.org>
Wed, 17 Feb 2021 08:20:25 +0000 (09:20 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 18 Feb 2021 14:41:09 +0000 (15:41 +0100)
feature-test tool location needs to be determined by its associated
variable; otherwise, the tool is not found on Windows:

    setup.sh: line 22: ../feature-test: No such file or directory

bin/tests/system/upforwd/setup.sh

index 91804e4b201bd7be7e62c280f14112d34c9ab84c..06e83b5e39252503e5af06c4cc04c5e340b36fb5 100644 (file)
@@ -18,7 +18,7 @@ copy_setports ns1/named.conf.in ns1/named.conf
 copy_setports ns2/named.conf.in ns2/named.conf
 copy_setports ns3/named.conf.in ns3/named.conf
 
-if ../feature-test --enable-dnstap
+if $FEATURETEST --enable-dnstap
 then
        cat <<'EOF' > ns3/dnstap.conf
        dnstap-identity "ns3";