source: trunk/packages/xen-common/xen-common/tools/xenstore/testsuite/03write.test @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

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