glusterfs/tests
Amar Tumballi c6570de4d5 protocol/client: add an option to filter O_DIRECT flag in open
with the option, the idea is all client-side caching will be disabled,
where as on server side process, the fd will be treated as a regular
fd, thus helping the performance better.

"gluster volume set <VOLNAME> remote-dio enable" would set
this option in client protocol volumes.

Change-Id: Id2255a167137f8fee20849513e3011274dc829b4
Signed-off-by: Amar Tumballi <amarts@redhat.com>
BUG: 845213
Reviewed-on: http://review.gluster.org/4206
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
2012-11-28 03:37:03 -08:00
..
basic tests: Add volume utils in a new file 2012-11-23 23:27:33 -08:00
bugs protocol/client: add an option to filter O_DIRECT flag in open 2012-11-28 03:37:03 -08:00
include.rc tests: make _EXPECT handle more cases 2012-11-19 22:38:44 -08:00
README tests: pre-commit regression tests 2012-10-18 14:17:25 -07:00
volume.rc tests: Add volume utils in a new file 2012-11-23 23:27:33 -08:00

How to use use
==============

- Build and install the version of glusterfs with your changes. Make
  sure the installed version is accessible from $PATH.

- (optional) Set environment variables to specify location of
  export directories and mount points. Unless you have special
  requirements, the defaults should just work. The variables
  themselves can be found at the top of tests/include.rc. All
  of them can be overriden with environment variables.

- Execute run-tests.sh in the top level directory as root.

- If some test cases fail, you can execute the failed test case script
  directly bypassing run-tests.sh. At this time it might be
  useful to set the envrionment variable DEBUG=1 before running
  the individual test script directly by hand.

- BE WARNED THAT THE TEST CASES DELETE /var/lib/glusterd/* !!!