aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-07-29 11:39:10 -0700
committerRob Landley <rob@landley.net>2020-07-30 03:31:24 -0500
commit70a55cf954ecabb858a12b754f4547bcaf78dc2d (patch)
treebc6eefc3b49ce754cd579bd2daa527bd99261c85 /tests
parentd0584bf09a2cf1f91fd524cf339520b26ee0afa0 (diff)
downloadtoybox-70a55cf954ecabb858a12b754f4547bcaf78dc2d.tar.gz
find: support -type a,b,c.
Fixes #227.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/find.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test
index 17d72fd3..a770f366 100755
--- a/tests/find.test
+++ b/tests/find.test
@@ -38,6 +38,8 @@ testing "( -type p -o -type d ) -type p" \
testing "-type l -o -type d -type p -o -type f" \
"find dir -type l -o -type d -type p -o -type f | sort" \
"dir/file\ndir/link\n" "" ""
+testing "-type l,f" \
+ "find dir -type l,f | sort" "dir/file\ndir/link\n" "" ""
# Testing short-circuit evaluations