]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/lib9p/pytest/README
Update apr to 1.7.0. See contrib/apr/CHANGES for a summary of changes.
[FreeBSD/FreeBSD.git] / contrib / lib9p / pytest / README
1 Here are some very skeletal instructions for using
2 the client test code.
3
4 on server (assumes BSD style LD_LIBRARY_PATH):
5
6 mkdir /tmp/foo
7 cd lib9p
8 env LD_LIBRARY_PATH=. LIB9P_LOGGING=stderr example/server -h localhost -p 12345 /tmp/foo
9
10 (this can be run as a non-root user for now, but some things
11 only work when run as root)
12
13 on client (same machine as server, but can always be run as
14 non-root user):
15
16 cd lib9p/pytest
17 ONE TIME ONLY: copy testconf.ini.sample to testconf.ini, adjust to taste
18 ./client.py
19
20 TODO: rework ./client so it can locate the .ini file better
21
22 ########
23
24 IF USING diod (http://github.com/chaos/diod) AS THE SERVER ON
25 A LINUX MACHINE:
26
27  - The instructions for running the server are (or were):
28      sudo ./diod -f -d 1 -n -e /tmp/9
29  - You must mkdir the exported 9pfs file system (e.g., mkdir /tmp/9).
30  - While uname is not really used, aname (the attach name) IS used
31    and must match the exported file system, e.g., testconf.ini
32    must have "aname = /tmp/9".