]> 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:47:57 +0000 (15:47 +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

(cherry picked from commit 102f01263125bfb4676e7fea6bfeb3edb19f8ae1)

bin/tests/system/upforwd/setup.sh

index 217e9b42a925e14316a8dcc7de199117e1657206..e74807837728a480944d9cf18dca6cb7ed7f68e2 100644 (file)
@@ -19,7 +19,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";