summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/listing/0011sets_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/listing/0011sets_0')
-rwxr-xr-xtests/shell/testcases/listing/0011sets_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/listing/0011sets_0 b/tests/shell/testcases/listing/0011sets_0
index aac9eac9..b6f12b59 100755
--- a/tests/shell/testcases/listing/0011sets_0
+++ b/tests/shell/testcases/listing/0011sets_0
@@ -38,7 +38,6 @@ $NFT add rule inet filter test tcp dport {80, 443}
GET="$($NFT list sets)"
if [ "$EXPECTED" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
+ $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
exit 1
fi