summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/listing/0019set_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/listing/0019set_0')
-rwxr-xr-xtests/shell/testcases/listing/0019set_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/listing/0019set_0 b/tests/shell/testcases/listing/0019set_0
index 54a8a064..6e8cb4d6 100755
--- a/tests/shell/testcases/listing/0019set_0
+++ b/tests/shell/testcases/listing/0019set_0
@@ -13,7 +13,6 @@ $NFT flush set inet filter ipset
GET="$($NFT list set inet filter ipset)"
if [ "$EXPECTED" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
+ $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
exit 1
fi