source:
trunk/packages/xen-3.1/xen-3.1/tools/xenstore/testsuite/04rm.test
@
34
Last change on this file since 34 was 34, checked in by hartmans, 18 years ago | |
---|---|
File size: 342 bytes |
Line | |
---|---|
1 | # Remove non-existant is OK, as long as parent exists |
2 | rm /test |
3 | expect rm failed: No such file or directory |
4 | rm /dir/test |
5 | |
6 | # Create file and remove it |
7 | write /test contents |
8 | rm /test |
9 | expect tool |
10 | dir / |
11 | |
12 | # Create directory and remove it. |
13 | mkdir /dir |
14 | rm /dir |
15 | |
16 | # Create directory, create file, remove all. |
17 | mkdir /dir |
18 | write /dir/test contents |
19 | rm /dir |
20 |
Note: See TracBrowser
for help on using the repository browser.