blob: 4a60e7bf85d04c3701dc355a4a5a539cae50efeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# file : tests/dir-iterator/testscript
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
test.options = -v
: file
:
mkdir a;
touch a/b;
$* a >"reg b"
: dir
:
mkdir -p a/b;
$* a >"dir b"
: 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 >! 2>! != 0 : keep
$* -i ../a >'reg c' : skip
}
|