Add afsload
[openafs.git] / src / libuafs / afsload / examples / large.conf
1 nodeconfig
2         node    *       afsconfig       "-fakestat -cachedir /tmp/afsload/cache.$RANK"
3         node    *       logfile "/tmp/afsload/log.$RANK"
4 step
5         node    *       chdir   "/afs/.localcell/afsload"
6 step
7         node    0       mkdir scratch
8 step
9         node    *       chdir scratch
10 step
11         node    0       creat   foo     "foo contents"
12         node    1       creat   foo2    "foo2 contents"
13         node    2       creat   foo3    "foo3 contents"
14 step
15 name "read newly created file"
16         node    *       read    foo     "foo contents"
17 step
18         node    0       cp 1M /dev/urandom foo.urandom
19 step
20         node    *       cat     foo foo2 bar foo.urandom foo3
21 step
22         node    1       truncwrite foo "different foo contents"
23 step
24         node    *       read foo "different foo contents"
25 step
26         node    0       append foo "123"
27 step
28         node    *       read foo "different foo contents123"
29 step
30         node    1       rename foo bar
31 step
32         node    *       read bar "different foo contents123"
33 step
34         node    0       hlink bar bar.link
35 step
36         node    *       read bar.link "different foo contents123"
37 step
38         node    0       truncwrite bar.link "bar contents"
39 step
40         node    *       read bar "bar contents"
41 step
42         node    0       unlink bar
43 step
44         node    *       read bar.link "bar contents"
45 step
46         node    0       slink bar.link bar.slink
47 step
48         node    *       read bar.slink "bar contents"
49 step
50         node    0       unlink bar.link
51 step
52         node    *       fail ENOENT access_r bar.slink
53 step
54         node    *       ignore unlink bar.slink
55 step
56         node    0       unlink foo.urandom foo2 foo3
57 step
58         node    *       chdir ..
59 step
60         node    0       rmdir scratch