From Fedora Project Wiki
m (Minor wiki reformatting) |
No edit summary |
||
Line 17: | Line 17: | ||
#: <pre> | #: <pre> | ||
#: git clone git://fedorapeople.org/~steved/cthon04</pre> | #: git clone git://fedorapeople.org/~steved/cthon04</pre> | ||
# Finally, | # Finally, setup the connectathon testsuite from the client. | ||
#: <pre> | #: <pre> | ||
#: cd cthon04 | #: cd cthon04 | ||
#: make | #: make | ||
#: mkdir /mnt | |||
#: chmod 777 /mnt</pre> | |||
# Run the testsuite from the client. | |||
#: <pre> | |||
#: ./runcthon --server <server IP> --serverdir /nfs --onlyv4</pre> | #: ./runcthon --server <server IP> --serverdir /nfs --onlyv4</pre> | ||
|results= | |results= | ||
# Step #1 completes without error. | # 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. | # The testsuite finishes without error; no nfs*.error files in /tmp. | ||
}} | }} | ||
[[Category:NFS_Test_Cases]] | [[Category:NFS_Test_Cases]] |
Revision as of 16:39, 3 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.
- ./runcthon --server <server IP> --serverdir /nfs --onlyv4
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.