diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-16 00:05:47 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-02-16 11:49:25 +0300 |
commit | cc8c13b8435f34ef8901bb968c6998587ba9a19b (patch) | |
tree | cbb080a33af32aecfa753c7ad92dc738dff2daef /tests/dir-iterator | |
parent | 39ce51acd1a187891d9951e8ae5460f9b6f4603c (diff) |
Fix non-detecting dangling junctions if built with mingw gcc
Diffstat (limited to 'tests/dir-iterator')
-rw-r--r-- | tests/dir-iterator/testscript | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/dir-iterator/testscript b/tests/dir-iterator/testscript index 956eacb..370fd2f 100644 --- a/tests/dir-iterator/testscript +++ b/tests/dir-iterator/testscript @@ -36,14 +36,21 @@ else { +mkdir a +mkdir --no-cleanup a/b - +ln -s a/b a/l + +ln -s a/b a/bl +rmdir a/b +touch a/c + +mkdir a/d + +ln -s a/d a/dl + # On Wine dangling symlinks are not visible (see mksymlink() for details). # - #$* ../a >! 2>! != 0 : keep + #$* ../a >! 2>! != 0 : keep - $* -i ../a >'reg c' : skip + : skip + : + $* -i ../a >>~%EOO% + %(reg c|dir d|sym dir dl)%{3} + EOO } |