aboutsummaryrefslogtreecommitdiff
path: root/tests/wildcard/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wildcard/testscript')
-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