From b946e380d4e414cec85082ebe67c8ffed6579277 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 May 2018 22:20:49 +0300 Subject: Add ignore_dangling parameter to dir_iterator() ctor --- tests/wildcard/testscript | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'tests/wildcard') diff --git a/tests/wildcard/testscript b/tests/wildcard/testscript index 489f724..85f5a33 100644 --- a/tests/wildcard/testscript +++ b/tests/wildcard/testscript @@ -113,7 +113,7 @@ : absolute : - : When cross-testing we can't guarantee that host absolute paths are + : When cross-testing we cannot guarantee that host absolute paths are : recognized by the target process. : if ($test.target == $build.host) @@ -566,6 +566,20 @@ } } } + + : dangling-link + : + if ($cxx.target.class != 'windows') + { + mkdir a; + touch --no-cleanup a/b; + ln -s a/b a/l; + rm a/b; + + touch a/c; + + $* a/* >/'a/c' + } } : path-entry-search -- cgit v1.1