[Ocfs2-test-devel] [PATCH 0/4] Ocfs2-test: Add libocfs2test for ocfs2-test.

tristan.ye tristan.ye at oracle.com
Tue Mar 24 05:38:45 PDT 2009


All,

As the testcase in ocfs2-test grows, we see there is a increasing
requirement for us to create a common C lib to archive some useful
generic utility funcs we usually used in fs tests, such as files/dirs
operations, mpi utility funcs etc, which helps to prevent  us from make
the c testing codes more and more redundant among different c written
testcases.

I named it after libocfs2test.a like we did in
ocfs2-tools(libocfs2.a) :-)

The v1 version of such lib simply include following files:

1) file_ops.c file_ops.h : common funcs on file operations

2) dir_ops.c dir_ops.h : common funcs on dir operations

3) mpi_ops.c mpi_ops.h: common funcs mpi operations

As we did with python and shell before, such C common lib always be
ready to grow as more tests written.

Regards,
Tristan





More information about the Ocfs2-test-devel mailing list