From 102f01263125bfb4676e7fea6bfeb3edb19f8ae1 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 17 Feb 2021 09:20:25 +0100 Subject: [PATCH] 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 --- bin/tests/system/upforwd/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/upforwd/setup.sh b/bin/tests/system/upforwd/setup.sh index 91804e4b20..06e83b5e39 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";