From: Michal Nowak Date: Wed, 17 Feb 2021 08:20:25 +0000 (+0100) Subject: Use FEATURETEST variable instead of a path X-Git-Tag: v9.17.11~41^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=102f01263125bfb4676e7fea6bfeb3edb19f8ae1;p=thirdparty%2Fbind9.git Use FEATURETEST variable instead of a path 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 --- diff --git a/bin/tests/system/upforwd/setup.sh b/bin/tests/system/upforwd/setup.sh index 91804e4b201..06e83b5e392 100644 --- a/bin/tests/system/upforwd/setup.sh +++ b/bin/tests/system/upforwd/setup.sh @@ -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";