summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/listing/0010sets_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/listing/0010sets_0')
-rwxr-xr-xtests/shell/testcases/listing/0010sets_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/listing/0010sets_0 b/tests/shell/testcases/listing/0010sets_0
index 855cceb8..0f5f2bd5 100755
--- a/tests/shell/testcases/listing/0010sets_0
+++ b/tests/shell/testcases/listing/0010sets_0
@@ -57,7 +57,6 @@ $NFT add set inet filter set2 { type icmpv6_type \; }
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