From: Liu Yuan <tailai.ly at taobao.com> - local driver can't pass 021, so use corosync as default - add an option to use local driver 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 +++++ tests/common.config | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/check b/tests/check index cf5e0ef..8fa87a4 100755 --- a/tests/check +++ b/tests/check @@ -135,6 +135,7 @@ common options check options -sheepdog test sheepdog + -local use local driver (default: corosync) -xdiff graphical mode diff -n show me, do not run tests -T output timestamps @@ -149,6 +150,10 @@ testlist options exit 0 ;; + -local) + DRIVER="local" + xpand=false + ;; -g) # -g group ... pick from group file group=true xpand=false diff --git a/tests/common.config b/tests/common.config index e9c8fb4..82b0e86 100644 --- a/tests/common.config +++ b/tests/common.config @@ -72,7 +72,7 @@ export SED_PROG="`set_prog_path sed`" export BC_PROG="`set_prog_path bc`" [ "$BC_PROG" = "" ] && _fatal "bc not found" -export DRIVER=${DRIVER:-local} +export DRIVER=${DRIVER:-corosync} export STORE=${STORE:-/tmp/sheepdog} export SHEEP=${SHEEP:-../sheep/sheep} export COLLIE=${COLLIE:-../collie/collie} -- 1.7.10.2 |