aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenys Nykula <nykula@ukr.net>2019-10-11 19:09:15 +0300
committerRob Landley <rob@landley.net>2019-10-12 17:23:30 -0500
commit0cc9d996ed3fe49b34fdf0943523e880203e5be5 (patch)
tree3f5afb1ff7ff8419280a337eedf1296a339d2cb6 /tests
parent7adff6b2cad30de073fb597cd0d10826067965ad (diff)
downloadtoybox-0cc9d996ed3fe49b34fdf0943523e880203e5be5.tar.gz
Fix argless find segfault.
Inline array becomes garbage outside the if.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/find.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test
index 9129a605..afe7fd2e 100755
--- a/tests/find.test
+++ b/tests/find.test
@@ -52,6 +52,7 @@ testing "-print -o -print" \
# Testing previous failures
+testing " " "cd perm; find" ".\n./all-read-only\n" "" ""
testing "-type f -user -exec" \
"find dir -type f -user $USER -exec ls {} \\;" "dir/file\n" "" ""
testing "-type l -newer -exec" \