summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/0004interval_map_create_once_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/maps/0004interval_map_create_once_0')
-rwxr-xr-xtests/shell/testcases/maps/0004interval_map_create_once_03
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/shell/testcases/maps/0004interval_map_create_once_0 b/tests/shell/testcases/maps/0004interval_map_create_once_0
index 58b399c1..3de0c9de 100755
--- a/tests/shell/testcases/maps/0004interval_map_create_once_0
+++ b/tests/shell/testcases/maps/0004interval_map_create_once_0
@@ -60,8 +60,7 @@ EXPECTED="table ip x {
}"
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