From Fedora Project Wiki

m (Minor wiki reformatting)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This test case is to run connectathon test suite on a NFSv4 root
+
|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.
  
 
|actions=
 
|actions=
You can run both NFS server and client on the same system or use different systems. Configure the server.
+
# First step, configure the '''server''' by creating an NFS mount export
# Export a NFS mount.
 
 
#: <pre>
 
#: <pre>
 
#: cp /etc/exports /etc/exports.orig
 
#: cp /etc/exports /etc/exports.orig
Line 10: Line 9:
 
#: mkdir /nfs
 
#: mkdir /nfs
 
#: service nfs restart</pre>
 
#: service nfs restart</pre>
# Create test trees.
+
# Next, create test trees on the server
 
#: <pre>
 
#: <pre>
 
#: git clone git://fedorapeople.org/~steved/cthon04
 
#: git clone git://fedorapeople.org/~steved/cthon04
 
#: cd cthon04
 
#: cd cthon04
 
#: ./runcthon --mkdirs /nfs</pre>
 
#: ./runcthon --mkdirs /nfs</pre>
 
+
# Now, on the '''client''', download the connectathon testsuite
From a client,
 
# Download the connectathon testsuite from the client.
 
 
#: <pre>
 
#: <pre>
 
#: git clone git://fedorapeople.org/~steved/cthon04</pre>
 
#: git clone git://fedorapeople.org/~steved/cthon04</pre>
# Run the connectathon testsuite from the client.
+
# Finally, run the connectathon testsuite from the client.
 
#: <pre>
 
#: <pre>
 
#: cd cthon04
 
#: cd cthon04

Revision as of 13:16, 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

  1. 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
  2. Next, create test trees on the server
    git clone git://fedorapeople.org/~steved/cthon04
    cd cthon04
    ./runcthon --mkdirs /nfs
  3. Now, on the client, download the connectathon testsuite
    git clone git://fedorapeople.org/~steved/cthon04
  4. Finally, run the connectathon testsuite from the client.
    cd cthon04
    make
    ./runcthon --server <server IP> --serverdir /nfs --onlyv4

Expected Results

  1. Step #1 completes without error.
  2. The testsuite finishes without error; no nfs*.error files in /tmp.