summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0040set_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/transactions/0040set_0')
-rwxr-xr-xtests/shell/testcases/transactions/0040set_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/transactions/0040set_0 b/tests/shell/testcases/transactions/0040set_0
index a404abc8..468816b0 100755
--- a/tests/shell/testcases/transactions/0040set_0
+++ b/tests/shell/testcases/transactions/0040set_0
@@ -29,8 +29,7 @@ fi
GET="$($NFT list ruleset)"
if [ "$RULESET" != "$GET" ] ; then
- DIFF="$(which diff)"
- [ -x $DIFF ] && $DIFF -u <(echo "$RULESET") <(echo "$GET")
+ $DIFF -u <(echo "$RULESET") <(echo "$GET")
exit 1
fi