diff options
Diffstat (limited to 'tests/README.md')
| -rw-r--r-- | tests/README.md | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/tests/README.md b/tests/README.md index 2b5ed8dcd53..09c98576987 100644 --- a/tests/README.md +++ b/tests/README.md @@ -5,6 +5,11 @@ Regression tests framework for GlusterFS - Build and install the version of glusterfs with your changes. Make sure the installed version is accessible from $PATH. +## Prereq for geo-rep regression tests. +- Passwordless ssh on the test system to itself +- arequal-checksum installed on the test-system. + You can find the repo here - https://github.com/raghavendrabhat/arequal + ## How-To - To mount glusterfs, NEVER use 'mount -t glusterfs', instead use 'glusterfs -s ' method. This is because with the patch build setup @@ -20,8 +25,19 @@ Regression tests framework for GlusterFS ## Usage - Execute `/usr/share/glusterfs/run-tests.sh` as root. +- If you want to run individual tests located in `/usr/share/glusterfs/tests` + as opposed to the full test-suite, invoke it as + `/usr/share/glusterfs/run-tests.sh [pattern]*`, where pattern can be: + - the trailing parts of the full path of a test, + e.g. `tests/basic/mount.t` + - the name of a file or directory, e.g `self-heal.t` or `basic/` + - bug number, which will match against numbered bugs in the + `tests/bugs/` directory. + - a glob pattern (see `man 7 glob` for mor info on globs) + +- To execute single ".t" file, use "prove -vf /path/to/.t" - If some test cases fail, report to GlusterFS community at - `gluster-devel@nongnu.org`. + `gluster-devel@gluster.org`. ## Reminder -- BE WARNED THAT THE TEST CASES DELETE /var/lib/glusterd/* !!!
\ No newline at end of file +- BE WARNED THAT THE TEST CASES DELETE ``GLUSTERD_WORKDIR`` * !!! |
