diff options
Diffstat (limited to 'testsuite/find.tests')
-rwxr-xr-x | testsuite/find.tests | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/find.tests b/testsuite/find.tests index 78dfa1230..138236c81 100755 --- a/testsuite/find.tests +++ b/testsuite/find.tests @@ -41,6 +41,33 @@ testing "find -exec exitcode 4" \ "1\n" \ "" "" SKIP= +optional FEATURE_FIND_MAXDEPTH +testing "find / -maxdepth 0 -name /" \ + "find / -maxdepth 0 -name /" \ + "/\n" \ + "" "" +testing "find // -maxdepth 0 -name /" \ + "find // -maxdepth 0 -name /" \ + "//\n" \ + "" "" +testing "find / -maxdepth 0 -name //" \ + "find / -maxdepth 0 -name //" \ + "" \ + "" "" +testing "find // -maxdepth 0 -name //" \ + "find // -maxdepth 0 -name //" \ + "" \ + "" "" +SKIP= + +testing "find ./// -name ." \ + "find ./// -name ." \ + ".///\n" \ + "" "" +testing "find ./// -name .///" \ + "find ./// -name .///" \ + "" \ + "" "" # testing "description" "command" "result" "infile" "stdin" |