[sheepdog] [PATCH] tests/047: fix md test

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Jun 17 18:54:56 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>
---
 tests/047 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/047 b/tests/047
index 0d5a702..e7309da 100755
--- a/tests/047
+++ b/tests/047
@@ -29,8 +29,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.7.9.5




More information about the sheepdog mailing list