aboutsummaryrefslogtreecommitdiff
path: root/tests/wildcard
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-16 22:20:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-18 11:15:38 +0300
commitb946e380d4e414cec85082ebe67c8ffed6579277 (patch)
treeba2fd4ffca5d66dfdd7d450dad98d37d03d0045a /tests/wildcard
parent12b450c33ddd804581a9212c7b88ccaa1d95b636 (diff)
Add ignore_dangling parameter to dir_iterator() ctor
Diffstat (limited to 'tests/wildcard')
-rw-r--r--tests/wildcard/testscript16
1 files changed, 15 insertions, 1 deletions
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