From de359f8b2aa1be9127b6d27a6283c202d089cd81 Mon Sep 17 00:00:00 2001 From: Anders Blomdell Date: Thu, 10 Jul 2014 20:17:25 +0200 Subject: Add possibility to run single tests Change-Id: I9282b711c09611bd0fd4cc814f3ec34aa67d10c0 BUG: 1118453 Signed-off-by: Anders Blomdell Reviewed-on: http://review.gluster.org/8291 Tested-by: Gluster Build System Reviewed-by: Harshavardhana Reviewed-by: Humble Devassy Chirammal Reviewed-by: Vijay Bellur --- tests/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') diff --git a/tests/README.md b/tests/README.md index 3a1406f6ff1..84138fffb45 100644 --- a/tests/README.md +++ b/tests/README.md @@ -20,6 +20,16 @@ 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) + - If some test cases fail, report to GlusterFS community at `gluster-devel@gluster.org`. -- cgit