aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-12-05 23:59:04 -0600
committerRob Landley <rob@landley.net>2020-12-05 23:59:04 -0600
commit0e675d98f3aba7a834dc56c2ae419f20da376f44 (patch)
tree5cc325664d03bc24ae28ff891c4ec8a441b42167 /tests
parentb5d276c1047350a13551a98f470fa2d78f4a84f8 (diff)
downloadtoybox-0e675d98f3aba7a834dc56c2ae419f20da376f44.tar.gz
Fix find empty argument handling and add test.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/find.test1
1 files changed, 1 insertions, 0 deletions
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