From 0e675d98f3aba7a834dc56c2ae419f20da376f44 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 5 Dec 2020 23:59:04 -0600 Subject: Fix find empty argument handling and add test. --- tests/find.test | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/find.test b/tests/find.test index 71a55010..f4277375 100755 --- a/tests/find.test +++ b/tests/find.test @@ -142,5 +142,6 @@ testing "-L broken" "find -L broken" "broken\n" "" "" testing "one slash" 'find /etc/ -maxdepth 1 | grep /passwd\$' '/etc/passwd\n' \ '' '' +testing 'empty arg' 'find "" dir -name file 2>/dev/null' 'dir/file\n' '' '' rm -rf dir -- cgit v1.2.3