Line | |
---|
1 | # Write succeeds |
---|
2 | write /test contents |
---|
3 | expect contents |
---|
4 | read /test |
---|
5 | |
---|
6 | # Overwrite succeeds. |
---|
7 | write /test contents2 |
---|
8 | expect contents2 |
---|
9 | read /test |
---|
10 | |
---|
11 | # Write should implicitly create directories |
---|
12 | write /dir/test contents |
---|
13 | expect test |
---|
14 | dir /dir |
---|
15 | expect contents |
---|
16 | read /dir/test |
---|
17 | write /dir/1/2/3/4 contents4 |
---|
18 | expect test |
---|
19 | expect 1 |
---|
20 | dir /dir |
---|
21 | expect 2 |
---|
22 | dir /dir/1 |
---|
23 | expect 3 |
---|
24 | dir /dir/1/2 |
---|
25 | expect 4 |
---|
26 | dir /dir/1/2/3 |
---|
27 | expect contents4 |
---|
28 | read /dir/1/2/3/4 |
---|
Note: See
TracBrowser
for help on using the repository browser.