[Ocfs2-test-devel] how do I run ocfs2-test?

Sunil Mushran sunil.mushran at oracle.com
Fri Aug 21 12:45:43 PDT 2009


Goldwyn Rodrigues wrote:
> Hi,
>
> I cannot figure out how to execute the ocfs2-tests. I tried running
> the fsck-test.sh but it requires a config.sh and there is no sample
> configuration file.
>
> Is there any doc on how to execute these tests?

That file is created during build.

Skeleton:
programs/python_common/config_shell.skel

Sample:
O2TDIR=/usr/local/ocfs2-test
export O2TDIR
MPIDIR=/usr/lib/openmpi/1.2.7-gcc/bin
export MPIDIR
BINDIR=${O2TDIR}/bin
export BINDIR
COMMONDIR=${O2TDIR}/common
export COMMONDIR
WORKFILESDIR=${O2TDIR}/workfiles
export WORKFILESDIR
LIBDIR=${O2TDIR}/lib
export LIBDIR
LOGFILE=${O2TDIR}/log/o2t.log
export LOGFILE
MPIHOSTS=${O2TDIR}/tmp/mpihosts
export MPIHOSTS
KERNELDIR=linux*
export KERNELDIR
MPIRUN=${MPIDIR}/mpirun
export MPIRUN
NPROC=1
export NPROC

You don't need all the exports. Not the MPI ones.

export O2TDIR=/usr/local/ocfs2-test
export BINDIR=${O2TDIR}/bin
export COMMONDIR=${O2TDIR}/common
export WORKFILESDIR=${O2TDIR}/workfiles
export LIBDIR=${O2TDIR}/lib
export LOGFILE=${O2TDIR}/log/o2t.log


 




More information about the Ocfs2-test-devel mailing list