diff options
author | Elliott Hughes <enh@google.com> | 2019-06-10 12:38:43 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-06-11 09:52:25 -0500 |
commit | 3eeda4f9293f8157d12d86e3b46d4bb4b45ab5c2 (patch) | |
tree | 36caa4f55e4451e6a9b830703d67dbb3eafe2bad /tests | |
parent | ebc2c400763d0a2cbf092534150b3cd6744d51f9 (diff) | |
download | toybox-3eeda4f9293f8157d12d86e3b46d4bb4b45ab5c2.tar.gz |
find: add -true/-false.
Used near the end of the AOSP build. Almost there!
(This patch also fiddles with the help text to be able to slip the new
options in without requiring so much extra space.)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/find.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test index 26ad1626..ab84fb07 100755 --- a/tests/find.test +++ b/tests/find.test @@ -105,4 +105,7 @@ testing "-printf" "find dir -name file -printf '%f %p %P %s'" \ testing "-printf .N" "find dir -name file -printf %.2f" "fi" "" "" +testing "-false" "find dir -false" "" "" "" +testing "-true" "find dir/file -true" "dir/file\n" "" "" + rm -rf dir |