blob: 5169e9bd9cfa89aab1b679663c52bbf0c90882c0 (
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-2019 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
}
|