aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-31 12:42:16 -0600
committerRob Landley <rob@landley.net>2016-01-31 12:42:16 -0600
commit8b847943dea4da31d5235c9bf7d73ce34e371fd0 (patch)
tree999774825f1d4c91f1a7833776cfaaad592dbac8
parent36aed25f3f54f7871d5810adfe99d96944e0afb4 (diff)
downloadtoybox-8b847943dea4da31d5235c9bf7d73ce34e371fd0.tar.gz
Tweak to "find" tests.
-rwxr-xr-xtests/find.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/find.test b/tests/find.test
index 71a35067..4e987b60 100755
--- a/tests/find.test
+++ b/tests/find.test
@@ -70,7 +70,7 @@ testing "find -perm (any failure)" \
# Still fails
testing "find unterminated -exec {}" \
- "find dir -type f -exec ls {}" "" "" ""
+ "find dir -type f -exec ls {} 2>/dev/null || echo bad" "bad\n" "" ""
testing "find -exec {} +" \
"find dir -type f -exec ls {} +" "dir/file\n" "" ""