From Fedora Project Wiki
(Created page with '{{QA/Test_Case |description=This test case is to run pynfs test suite on a NFSv4 root |actions= # You can run both NFS server and client on the same system or use different syst...') |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case is to run | |description=This test case is to run LTP filesystem tests on a NFSv4 root | ||
|actions= | |actions= | ||
Line 9: | Line 9: | ||
#: mkdir /nfs | #: mkdir /nfs | ||
#: service nfs restart</pre> | #: service nfs restart</pre> | ||
# | # Mount the NFS directory to /tmp on the client, since tests will manipulate files in that directory. | ||
#: <pre> | #: <pre> | ||
#: | #: mount <server IP>/nfs /tmp</pre> | ||
# | # ''Download'' connectathon testsuite from the client. | ||
#: <pre> | #: <pre> | ||
#: cd | #: wget -c 'http://downloads.sourceforge.net/project/ltp/LTP%20Source/_OLD_%20ltp-20080731/ltp-full-20080731.tgz'</pre> | ||
# From the ''client'' system, run LTP filesystems tests. | |||
#: <pre> | |||
#: tar zxvf ltp-full-20080731.tgz | |||
#: cd ltp-full-20080731 | |||
#: make | #: make | ||
#: ./ | #: make install | ||
#: ./runltp -p -d /tmp -l /tmp/ltp.log -o /tmp/ltp.run.log -f fs | |||
|results= | |results= |
Revision as of 10:35, 29 January 2010
Description
This test case is to run LTP filesystem tests 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.
- cp /etc/exports /etc/exports.orig
- echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports
- mkdir /nfs
- service nfs restart
- Mount the NFS directory to /tmp on the client, since tests will manipulate files in that directory.
- mount <server IP>/nfs /tmp
- Download connectathon testsuite from the client.
- wget -c 'http://downloads.sourceforge.net/project/ltp/LTP%20Source/_OLD_%20ltp-20080731/ltp-full-20080731.tgz'
- From the client system, run LTP filesystems tests.
- tar zxvf ltp-full-20080731.tgz
- cd ltp-full-20080731
- make
- make install
- ./runltp -p -d /tmp -l /tmp/ltp.log -o /tmp/ltp.run.log -f fs
Expected Results
- Step #1 completes without error.
- The testsuite finishes without error; no nfs*.error files in /tmp.