diff options
author | Phil Sutter <phil@nwl.cc> | 2018-03-15 23:58:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-16 09:58:39 +0100 |
commit | 70b31b1ce73e704d4387b1262e8b97785ffe64f7 (patch) | |
tree | 5732eae9c2f6dc7badea51cabc2c8db75634deec /tests | |
parent | 403d49b87d0d7489d6cab53331b36f81120385fe (diff) |
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 <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/shell/run-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |