From Fedora Project Wiki

(Correct use of Template:QA/Test_Case)
Line 1: Line 1:
= Description =
+
{{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
  
= How to test =
+
|actions=
<noinclude>
 
Be as specific as required for the target audience.
 
</noinclude>
 
{{{actions|
 
 
# You can run both NFS server and client on the same system or use different systems. Configure the server.
 
# You can run both NFS server and client on the same system or use different systems. Configure the server.
 
#: <pre>
 
#: <pre>
 
#: cp /etc/exports /etc/exports.orig
 
#: cp /etc/exports /etc/exports.orig
#: echo '/nfs *(rw,insecure,no_root_squash)' >/etc/exports
+
#: echo '/nfs *(rw,insecure,no_root_squash)' > /etc/exports
 
#: mkdir /nfs
 
#: mkdir /nfs
#: service nfs restart
+
#: service nfs restart</pre>
#: </pre>
+
# Download the connectathon testsuite
 +
#: <pre>
 +
#: git clone git://fedorapeople.org/~steved/cthon04</pre>
 
# Run the connectathon testsuite from the client.
 
# Run the connectathon testsuite from the client.
 
#: <pre>
 
#: <pre>
#: git clone git://fedorapeople.org/~steved/cthon04
 
 
#: cd cthon04
 
#: cd cthon04
 
#: make
 
#: make
#: ./runcthon --server <server IP> --serverdir /nfs
+
#: ./runcthon --server <server IP> --serverdir /nfs </pre>
#: <pre>
 
# }}}
 
 
 
= Expected Results =
 
<noinclude>
 
  
The following must be true to consider this a successful test run.  Be brief ... but explicit.
+
|results=
</noinclude>
 
{{{results|
 
 
# Step #1 completes without error.
 
# Step #1 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.
#  }}}
+
}}
  
<noinclude>
+
[[Category:NFS_Test_Cases]]
{{tempdoc}}
 
[[Category:Test_Cases]]
 
[[Category:QA Templates]]
 
</noinclude>
 

Revision as of 14:38, 28 January 2010

Description

This test case is to run connectathon test suite on a NFSv4 root


How to test

  1. You can run both NFS server and client on the same system or use different systems. Configure the server.
    cp /etc/exports /etc/exports.orig
    echo '/nfs *(rw,insecure,no_root_squash)' > /etc/exports
    mkdir /nfs
    service nfs restart
  2. Download the connectathon testsuite
    git clone git://fedorapeople.org/~steved/cthon04
  3. Run the connectathon testsuite from the client.
    cd cthon04
    make
    ./runcthon --server <server IP> --serverdir /nfs

Expected Results

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