tests: test find -depth with unreadable directory

* find/testsuite/find.posix/sv-bug-54171.exp: Add testcase ...
* find/testsuite/find.posix/sv-bug-54171.xo: .. and expected output.
* find/testsuite/Makefile.am: Include newly added tests in
distribution.
This commit is contained in:
Andreas Metzler
2018-06-30 13:24:27 +02:00
committed by Bernhard Voelker
parent 22ff99e150
commit df4610d08d
3 changed files with 8 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ find.posix/prune-stat.xo \
find.posix/sizetype.xo \
find.posix/sv-bug-15235.xo \
find.posix/sv-bug-19613.xo \
find.posix/sv-bug-54171.xo \
find.posix/typesize.xo
@@ -245,6 +246,7 @@ find.posix/sv-bug-15235.exp \
find.posix/sv-bug-19605.exp \
find.posix/sv-bug-19613.exp \
find.posix/sv-bug-19617.exp \
find.posix/sv-bug-54171.exp \
find.posix/typesize.exp \
find.posix/user-empty.exp \
find.posix/user-missing.exp

View File

@@ -0,0 +1,5 @@
exec rm -rf tmp
exec mkdir tmp tmp/dir
exec chmod 0311 tmp/dir
find_start f {tmp -depth -name dir }
exec rm -rf tmp

View File

@@ -0,0 +1 @@
tmp/dir