summaryrefslogtreecommitdiffstats
path: root/clustermd_tests
diff options
context:
space:
mode:
authorZhilong Liu <zlliu@suse.com>2018-01-16 10:45:05 +0100
committerJes Sorensen <jsorensen@fb.com>2018-01-21 22:36:08 +0100
commit6c33d34df2b0bcacadd5c547c8c827bbfac1bd2a (patch)
treee04f4d1cdb487f0282ebbd85a1b3eda3e6e85223 /clustermd_tests
parentmdadm/test: enable clustermd testing under clustermd_tests/ (diff)
downloadmdadm-6c33d34df2b0bcacadd5c547c8c827bbfac1bd2a.tar.xz
mdadm-6c33d34df2b0bcacadd5c547c8c827bbfac1bd2a.zip
mdadm/test: add '--testdir=' to switch choosing test suite
By now, mdadm has two test suites to cover traditional sofr-raid testing and clustermd testing, the '--testdir=' option supports to switch which suite to test, tests/ or clustermd_tests/. Signed-off-by: Zhilong Liu <zlliu@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'clustermd_tests')
-rw-r--r--clustermd_tests/func.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/clustermd_tests/func.sh b/clustermd_tests/func.sh
index f88d33f8..23874245 100644
--- a/clustermd_tests/func.sh
+++ b/clustermd_tests/func.sh
@@ -1,7 +1,5 @@
#!/bin/bash
-CLUSTER_CONF=$PWD/cluster_conf
-
check_ssh()
{
NODE1="$(grep '^NODE1' $CLUSTER_CONF | cut -d'=' -f2)"