From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
#: <pre> | #: <pre> | ||
#: ./runcthon --server <server IP> --serverdir /nfs --onlyv4</pre> | #: ./runcthon --server <server IP> --serverdir /nfs --onlyv4</pre> | ||
# Save the output from the tests to TESTOUT.log, copy {{filename|/var/log/messages}} from both the server and client, and then tar and compress them together with {{filename|/tmp/nfs*.error}} if any to [[Special:Upload|upload it]] to the wiki. Please include a link to the uploaded file in your test day results. | |||
#: <pre> | |||
#: mkdir log | |||
#: cp TESTOUT.log /var/log/messages /tmp/nfs*.error log/ | |||
#: tar czvf /tmp/nfs_connectathon-results.tgz log/</pre> | |||
|results= | |results= | ||
Line 33: | Line 38: | ||
# Step #4 completes without error. | # Step #4 completes without error. | ||
# The testsuite finishes without error; no nfs*.error files in /tmp. | # The testsuite finishes without error; no nfs*.error files in /tmp. | ||
# Step #6 completes without error. | |||
}} | }} | ||
[[Category:NFS_Test_Cases]] | [[Category:NFS_Test_Cases]] |
Revision as of 05:35, 4 February 2010
Description
This test case is to run connectathon test suite on a NFSv4 root. The test requires both an NFS server and client system. Note, the client and server can exist on the same system.
How to test
- First step, configure the server by creating an NFS mount export
- cp /etc/exports /etc/exports.orig
- echo '/nfs *(rw,insecure,no_root_squash)' > /etc/exports
- mkdir /nfs
- service nfs restart
- Next, create test trees on the server
- git clone git://fedorapeople.org/~steved/cthon04
- cd cthon04
- ./runcthon --mkdirs /nfs
- Now, on the client, download the connectathon testsuite
- git clone git://fedorapeople.org/~steved/cthon04
- Finally, setup the connectathon testsuite from the client.
- cd cthon04
- make
- mkdir /mnt
- chmod 777 /mnt
- Run the testsuite from the client by a non-root user.
- ./runcthon --server <server IP> --serverdir /nfs --onlyv4
- Save the output from the tests to TESTOUT.log, copy
/var/log/messages
from both the server and client, and then tar and compress them together with/tmp/nfs*.error
if any to upload it to the wiki. Please include a link to the uploaded file in your test day results.- mkdir log
- cp TESTOUT.log /var/log/messages /tmp/nfs*.error log/
- tar czvf /tmp/nfs_connectathon-results.tgz log/
Expected Results
- Step #1 completes without error.
- Step #2 completes without error.
- Step #3 completes without error.
- Step #4 completes without error.
- The testsuite finishes without error; no nfs*.error files in /tmp.
- Step #6 completes without error.