[sheepdog] [PATCH stable-0.6 09/22] functional/047: fix md test

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Aug 12 16:55:13 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

If we use a different WD for this test, the objects can be stored to
other disks than d2.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 tests/functional/047 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/functional/047 b/tests/functional/047
index 59c62a9..f2963a1 100755
--- a/tests/functional/047
+++ b/tests/functional/047
@@ -30,8 +30,8 @@ echo "sheepdog" | $COLLIE vdi write test 4M 512
 # corrupt the vdi...
 _kill_sheep 0
 if $MD; then
-	rm $STORE/0/d2/807c2b2500000000
-	rm $STORE/0/d2/007c2b25*
+	rm $STORE/0/d*/807c2b2500000000
+	rm $STORE/0/d*/007c2b25*
 else
 	rm $STORE/0/obj/807c2b2500000000
 	rm $STORE/0/obj/007c2b25*
-- 
1.8.1.2




More information about the sheepdog mailing list