ia64/xen-unstable

view tools/xenstore/testsuite/10domain-homedir.test @ 6946:e703abaf6e3d

Add behaviour to the remove methods to remove the transaction's path itself. This allows us to write Remove(path) to remove the specified path rather than having to slice the path ourselves.
author emellor@ewan
date Sun Sep 18 14:42:13 2005 +0100 (2005-09-18)
parents 3233e7ecfa9f
children f7a7f8f2e6e4 872cf6ee0594
line source
1 # Test domain "implicit" paths.
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 create contents
8 expect contents
9 read /home/entry1
10 expect entry1
11 dir /home
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 create contents
17 expect 1:foo/bar:token
18 1 waitwatch
19 1 ackwatch token