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

Add xen and xen-common

File size: 342 bytes
Line 
1# Remove non-existant is OK, as long as parent exists
2rm /test
3expect rm failed: No such file or directory
4rm /dir/test
5
6# Create file and remove it
7write /test contents
8rm /test
9expect tool
10dir /
11
12# Create directory and remove it.
13mkdir /dir
14rm /dir
15
16# Create directory, create file, remove all.
17mkdir /dir
18write /dir/test contents
19rm /dir
20
Note: See TracBrowser for help on using the repository browser.