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