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