summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/listing/0007ruleset_inet_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/listing/0007ruleset_inet_0')
-rwxr-xr-xtests/shell/testcases/listing/0007ruleset_inet_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/listing/0007ruleset_inet_0 b/tests/shell/testcases/listing/0007ruleset_inet_0
index b24cc4c0..257c7a90 100755
--- a/tests/shell/testcases/listing/0007ruleset_inet_0
+++ b/tests/shell/testcases/listing/0007ruleset_inet_0
@@ -15,7 +15,6 @@ $NFT add table bridge test
GET="$($NFT list ruleset inet)"
if [ "$EXPECTED" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
+ $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
exit 1
fi