Debian Codegraph @

tests/user/README

raw
1 These all run the same way:
2 - Makefile sets up environment and invokes test through ./runtest wrapper.
3 - ./runtest runs ./conjoin "diod -e ./exp.d ..." "<test> ./exp.d"
4 (conjoin sets up a socketpair and runs test on one end, server on the other)
5 - output goes to <test>.out
6 - diod log goes to <test>.diod
7 - <test>.out is compared with <test>.exp
8
9 The tests are:
10 t01 Simple mount/unmount sanity test.
11 t02 Mount attempt on aname that's not exported
12 t03 Read a file out of 9p and check integrity
13 t04 Try to read a non-existent file.
14 t05 Write a file into 9p and check integrity
15 t06 Try to write file in non-existent directory.
16 t07 Simple mkdir
17 t08 Compare p9 stat with regular stat
18 t09 Create directory >P9_MAXWELEM directories deep.
19 t10 Attach to server with N threads, 1 user
20 t11(*) Attach to server with N threads, M users (N > M)
21 t12(+) Attach to user A's private server with user B
22 t13(*) Attach to server with N threads, M users (N < M)
23 t15 Check that flush works the way it ought to.
24 t16 Attach directly to a file and perform I/O
25 t17 Read, list, remove user extended attributes
26 t18 Removing nonexistent user xattrs returns ENODATA
27 t19 Test setxattr flags
28
29 (*) requires root (else NOTRUN)
30 (+) requires non-root (else NOTRUN)