source:
trunk/packages/xen-3.1/xen-3.1/tools/xenstore/testsuite/10domain-homedir.test
@
34
Last change on this file since 34 was 34, checked in by hartmans, 17 years ago | |
---|---|
File size: 403 bytes |
Rev | Line | |
---|---|---|
[34] | 1 | # Test domain "implicit" paths. |
2 | ||
3 | # Create a domain, write an entry using implicit path, read using implicit | |
4 | mkdir /home | |
5 | expect handle is 1 | |
6 | introduce 1 100 7 /home | |
7 | 1 write entry1 contents | |
8 | expect contents | |
9 | read /home/entry1 | |
10 | expect entry1 | |
11 | dir /home | |
12 | ||
13 | # Place a watch using a relative path: expect relative answer. | |
14 | 1 mkdir foo | |
15 | 1 watch foo token | |
16 | write /home/foo/bar contents | |
17 | expect 1:foo/bar:token | |
18 | 1 waitwatch |
Note: See TracBrowser
for help on using the repository browser.