[sheepdog] [PATCH] test: make 025 to run with corosync driver

Liu Yuan namei.unix at gmail.com
Mon Aug 20 06:54:12 CEST 2012


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

Since we don't use _start_sheep() helper, we need to manually add -y option to it

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/025 |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/025 b/tests/025
index 8941618..5f4259a 100755
--- a/tests/025
+++ b/tests/025
@@ -20,12 +20,12 @@ VDI_SIZE="20M"
 
 echo "starting two sheep in the first zone"
 for i in `seq 0 1`; do
-    $SHEEP $STORE/$i -d -z 0 -p 700$i -c $DRIVER
+    $SHEEP $STORE/$i -d -z 0 -p 700$i -c $DRIVER -y 127.0.0.1
 done
 
 echo "starting a sheep in the second zone"
 for i in `seq 2 2`; do
-    $SHEEP $STORE/$i -d -z 1 -p 700$i -c $DRIVER
+    $SHEEP $STORE/$i -d -z 1 -p 700$i -c $DRIVER -y 127.0.0.1
 done
 
 _wait_for_sheep "3"
@@ -44,7 +44,7 @@ qemu-io -c "read 0 1m" sheepdog:localhost:7002:${VDI_NAME} | _filter_qemu_io
 
 echo "starting a sheep in the third zone"
 for i in `seq 3 3`; do
-    $SHEEP $STORE/$i -d -z 2 -p 700$i -c $DRIVER
+    $SHEEP $STORE/$i -d -z 2 -p 700$i -c $DRIVER -y 127.0.0.1
 done
 
 sleep 10
-- 
1.7.10.2




More information about the sheepdog mailing list