[sheepdog] [PATCH 8/8] tests: disable raid for tests that are not raid aware

Liu Yuan namei.unix at gmail.com
Sun Mar 10 15:19:29 CET 2013


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

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/010 |    2 ++
 tests/027 |    2 ++
 tests/032 |    2 ++
 tests/033 |    2 ++
 tests/042 |    2 ++
 tests/043 |    2 ++
 tests/047 |    2 ++
 tests/048 |    2 ++
 8 files changed, 16 insertions(+)

diff --git a/tests/010 b/tests/010
index 71d175f..f375f98 100755
--- a/tests/010
+++ b/tests/010
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in `seq 0 4`; do
     _start_sheep $i '-s 100'
 done
diff --git a/tests/027 b/tests/027
index a014fd0..3df0b3d 100755
--- a/tests/027
+++ b/tests/027
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in `seq 0 3`; do
     _start_sheep $i
 done
diff --git a/tests/032 b/tests/032
index 259e798..6a55576 100755
--- a/tests/032
+++ b/tests/032
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in `seq 0 7`; do
     _start_sheep $i
 done
diff --git a/tests/033 b/tests/033
index 40b9734..fb018f2 100755
--- a/tests/033
+++ b/tests/033
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in `seq 0 7`; do
     _start_sheep $i
 done
diff --git a/tests/042 b/tests/042
index b6aa54d..fdc1448 100755
--- a/tests/042
+++ b/tests/042
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 _make_device 0 $((1024 ** 3))
 _make_device 1 $((1024 ** 3))
 _make_device 2 $((20 * 1024 ** 2))
diff --git a/tests/043 b/tests/043
index 080513f..b429d58 100755
--- a/tests/043
+++ b/tests/043
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in `seq 0 4`; do
     _start_sheep $i
 done
diff --git a/tests/047 b/tests/047
index 34b64f3..323a061 100755
--- a/tests/047
+++ b/tests/047
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 _start_sheep 0 "-j size=64"
 
 _wait_for_sheep 1
diff --git a/tests/048 b/tests/048
index 97ed45e..fe61dcb 100755
--- a/tests/048
+++ b/tests/048
@@ -15,6 +15,8 @@ status=1        # failure is the default!
 
 _cleanup
 
+raid=false;
+
 for i in 0 1 2; do
 	_start_sheep $i
 done
-- 
1.7.9.5




More information about the sheepdog mailing list