From 70b31b1ce73e704d4387b1262e8b97785ffe64f7 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 15 Mar 2018 23:58:38 +0100 Subject: tests/shell: Use custom nft binary for ruleset listing Don't assume the system's nft binary is able to correctly list rulesets generated in tests. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- tests/shell/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index d2f3e96b..431d5559 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -110,7 +110,7 @@ do dumppath="$(dirname ${testfile})/dumps" dumpfile="${dumppath}/$(basename ${testfile}).nft" if [ "$rc_got" == "${POSITIVE_RET}" ] && [ -f ${dumpfile} ]; then - test_output=$(${DIFF} ${dumpfile} <(nft list ruleset) 2>&1) + test_output=$(${DIFF} ${dumpfile} <($NFT list ruleset) 2>&1) rc_spec=$? fi -- cgit v1.2.3