diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-12 13:25:19 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-12 14:23:40 +0300 |
commit | 82982e037dea53b334070699471e682fb023dc9e (patch) | |
tree | 67e7715a6f08f5468b441d66ad5c2d96729e9d11 /tests/dir-iterator/testscript | |
parent | ab64b769ca15d00257face17841c97d5405161a5 (diff) |
Support detecting inaccessible/dangling entries in dir_iterator, path_search()
Diffstat (limited to 'tests/dir-iterator/testscript')
-rw-r--r-- | tests/dir-iterator/testscript | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/dir-iterator/testscript b/tests/dir-iterator/testscript index 30cf6d7..9ecc58b 100644 --- a/tests/dir-iterator/testscript +++ b/tests/dir-iterator/testscript @@ -54,6 +54,12 @@ if ($test.target == $build.host) $* ../wd >- 2>! != 0 : keep $* -i ../wd >'reg f': skip + + : detect + : + $* -d ../wd >>~%EOO% + %(reg f|sym unk l)%{2} + EOO } : dir @@ -71,6 +77,12 @@ if ($test.target == $build.host) $* ../wd >- 2>! != 0 : keep $* -i ../wd >'dir d': skip + + : detect + : + $* -d ../wd >>~%EOO% + %(dir d|sym unk l)%{2} + EOO } } @@ -89,5 +101,11 @@ if ($test.target == $build.host) $* ../wd >- 2>! != 0 : keep $* -i ../wd >'dir d': skip + + : detect + : + $* -d ../wd >>~%EOO% + %(dir d|sym unk l)%{2} + EOO } } |