summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/update_object_handles_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/optionals/update_object_handles_0')
-rwxr-xr-xtests/shell/testcases/optionals/update_object_handles_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/optionals/update_object_handles_0 b/tests/shell/testcases/optionals/update_object_handles_0
index 17c0c86c..8b12b8c5 100755
--- a/tests/shell/testcases/optionals/update_object_handles_0
+++ b/tests/shell/testcases/optionals/update_object_handles_0
@@ -19,7 +19,6 @@ EXPECTED="table ip test-ip {
GET="$($NFT list ruleset)"
if [ "$EXPECTED" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
+ $DIFF -u <(echo "$EXPECTED") <(echo "$GET")
exit 1
fi