diff options
author | Denys Nykula <nykula@ukr.net> | 2019-10-11 19:09:15 +0300 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-10-12 17:23:30 -0500 |
commit | 0cc9d996ed3fe49b34fdf0943523e880203e5be5 (patch) | |
tree | 3f5afb1ff7ff8419280a337eedf1296a339d2cb6 /tests | |
parent | 7adff6b2cad30de073fb597cd0d10826067965ad (diff) | |
download | toybox-0cc9d996ed3fe49b34fdf0943523e880203e5be5.tar.gz |
Fix argless find segfault.
Inline array becomes garbage outside the if.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/find.test | 1 |
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" \ |