From Fedora Project Wiki

Line 12: Line 12:
 
#: <pre>
 
#: <pre>
 
#: mount <server IP>:/nfs /tmp</pre>
 
#: mount <server IP>:/nfs /tmp</pre>
# ''Download'' connectathon testsuite from the client.
+
# ''Download'' LTP testsuite from the client.
 
#: <pre>
 
#: <pre>
#: wget -c 'http://downloads.sourceforge.net/project/ltp/LTP%20Source/_OLD_%20ltp-20080731/ltp-full-20080731.tgz'</pre>
+
#: wget -c 'http://sourceforge.net/projects/ltp/files/LTP%20Source/OLD-ltp-20090731/ltp-full-20090731.tgz/download'
 +
# 'Install' dependencies to compile LTP.
 +
#: <pre>
 +
#: yum -y install procmail flex bison kernel-devel</pre>
 
# From the ''client'' system, run LTP filesystems tests.
 
# From the ''client'' system, run LTP filesystems tests.
 
#: <pre>
 
#: <pre>
#: tar zxvf ltp-full-20080731.tgz
+
#: tar zxvf ltp-full-20090731.tgz
#: cd ltp-full-20080731
+
#: cd ltp-full-20090731
 
#: make
 
#: make
 
#: make install
 
#: make install

Revision as of 03:12, 1 February 2010

Description

This test case is to run LTP filesystem tests on a NFSv4 root


How to test

  1. 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
  2. Mount the NFS directory to /tmp on the client, since tests will manipulate files in that directory.
    mount <server IP>:/nfs /tmp
  3. Download LTP testsuite from the client.
    wget -c 'http://sourceforge.net/projects/ltp/files/LTP%20Source/OLD-ltp-20090731/ltp-full-20090731.tgz/download'
  4. 'Install' dependencies to compile LTP.
    <pre>
    yum -y install procmail flex bison kernel-devel
  5. From the client system, run LTP filesystems tests.
    tar zxvf ltp-full-20090731.tgz
    cd ltp-full-20090731
    make
    make install
    ./runltp -p -d /tmp -l /tmp/ltp.log -o /tmp/ltp.run.log -f fs

Expected Results

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