From a4dcfe8b6d1eaabe172322a81721f355647257ff Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 8 Feb 2017 19:15:11 -0500 Subject: Add support for -x?type with multiple types This functionality is already part of GNU findutils git. --- tests.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index a6d9784..ecaf837 100755 --- a/tests.sh +++ b/tests.sh @@ -858,9 +858,19 @@ function test_0141() { bfs_diff basic -maxdepth 0 -printf '%p' } +function test_0142() { + [ "$ALL" ] || return 0 + bfs_diff links -type f,d,c +} + +function test_0143() { + [ "$ALL" ] || return 0 + bfs_diff links -xtype f,d,c +} + result=0 -for i in {1..141}; do +for i in {1..143}; do test="test_$(printf '%04d' $i)" if [ -t 1 ]; then -- cgit v1.2.3