From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
You can run both NFS server and client on the same system or use different systems. First, configure the NFS server. | |||
#: Export a NFS mount. | |||
#: <pre> | #: <pre> | ||
#: cp /etc/exports /etc/exports.orig | #: cp /etc/exports /etc/exports.orig | ||
Line 9: | Line 10: | ||
#: mkdir /nfs | #: mkdir /nfs | ||
#: service nfs restart</pre> | #: service nfs restart</pre> | ||
From a client, | |||
# ''Download'' pynfs testsuite from the client. | # ''Download'' pynfs testsuite from the client. | ||
#: <pre> | #: <pre> | ||
#: git clone git://linux-nfs.org/~iisaman/pynfs.git </pre> | #: git clone git://linux-nfs.org/~iisaman/pynfs.git </pre> | ||
# | # Run the pynfs testsuite. | ||
#: <pre> | #: <pre> | ||
#: cd pynfs | #: cd pynfs | ||
#: ./setup.py build_ext --inplace | #: ./setup.py build_ext --inplace | ||
#: ./testserver.py --maketree | #: ./testserver.py --maketree <server IP>:/nfs all</pre> | ||
|results= | |results= |
Revision as of 10:08, 3 February 2010
Description
This test case is to run pynfs test suite on a NFSv4 root
How to test
You can run both NFS server and client on the same system or use different systems. First, configure the NFS server.
- Export a NFS mount.
#: cp /etc/exports /etc/exports.orig #: echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports #: mkdir /nfs #: service nfs restart
From a client,
- Download pynfs testsuite from the client.
- git clone git://linux-nfs.org/~iisaman/pynfs.git
- Run the pynfs testsuite.
- cd pynfs
- ./setup.py build_ext --inplace
- ./testserver.py --maketree <server IP>:/nfs all
Expected Results
- Step #1 completes without error.
- The testsuite finishes without error; no nfs*.error files in /tmp.