[sheepdog] [PATCH 2/2] test: add corosync driver option

Liu Yuan namei.unix at gmail.com
Mon Aug 20 05:57:55 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

zookeeper driver is not added yet because I don't know to add option that
can take parameters

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/check |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/check b/tests/check
index cf5e0ef..62746e4 100755
--- a/tests/check
+++ b/tests/check
@@ -135,6 +135,7 @@ common options
 
 check options
     -sheepdog           test sheepdog
+    -corosync           use corosync driver (default: local)
     -xdiff		graphical mode diff
     -n			show me, do not run tests
     -T			output timestamps
@@ -149,6 +150,10 @@ testlist options
 	    exit 0
 	    ;;
 
+	-corosync)
+	    DRIVER="corosync"
+	    xpand=false
+	    ;;
 	-g)	# -g group ... pick from group file
 	    group=true
 	    xpand=false
-- 
1.7.10.2




More information about the sheepdog mailing list