As of today regression tests are an in-house breed, by making it a new package and distributing it ensures larger set of people use it and contribute to it. This can also be used by any consumer/user to build their own environment for glusterfs regression testing which is today limited only to 'upstream' 'glusterfs' releases and build.gluster.org Change-Id: I4f7e9fd1c49982dcf0d788ef6a83ffe895a956ac BUG: 764966 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/5674 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
27 lines
1.0 KiB
Markdown
27 lines
1.0 KiB
Markdown
Regression tests framework for GlusterFS
|
|
========================================
|
|
|
|
## Prereq
|
|
- Build and install the version of glusterfs with your changes. Make
|
|
sure the installed version is accessible from $PATH.
|
|
|
|
## How-To
|
|
- To mount glusterfs, NEVER use 'mount -t glusterfs', instead use
|
|
'glusterfs -s ' method. This is because with the patch build setup
|
|
doesnot install the /sbin/mount.glusterfs necessary, where as the
|
|
glusterfs binary will be accessible with $PATH, and will pick the
|
|
right version.
|
|
- (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.
|
|
|
|
## Usage
|
|
- Execute `/usr/share/glusterfs/run-tests.sh` as root.
|
|
|
|
- If some test cases fail, report to GlusterFS community at
|
|
`gluster-devel@nongnu.org`.
|
|
|
|
## Reminder
|
|
- BE WARNED THAT THE TEST CASES DELETE /var/lib/glusterd/* !!! |