[sheepdog] [PATCH] tests/func: depricate '-d' option by '-l' option
Liu Yuan
namei.unix at gmail.com
Thu Dec 12 06:45:00 CET 2013
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
tests/functional/025 | 6 +++---
tests/functional/common.config | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/025 b/tests/functional/025
index 2eb2f6d..17f6dba 100755
--- a/tests/functional/025
+++ b/tests/functional/025
@@ -9,12 +9,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 -y 127.0.0.1
+ $SHEEP $STORE/$i -l level=7 -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 -y 127.0.0.1
+ $SHEEP $STORE/$i -l level=7 -z 1 -p 700$i -c $DRIVER -y 127.0.0.1
done
_wait_for_sheep "3"
@@ -33,7 +33,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 -y 127.0.0.1
+ $SHEEP $STORE/$i -l level=7 -z 2 -p 700$i -c $DRIVER -y 127.0.0.1
done
_wait_for_sheep 4
diff --git a/tests/functional/common.config b/tests/functional/common.config
index 112f932..482bdd9 100644
--- a/tests/functional/common.config
+++ b/tests/functional/common.config
@@ -77,7 +77,7 @@ export WD=${WD:-/tmp/sheepdog}
export STORE=$WD
export SHEEP_PROG=${SHEEP_PROG:-../../sheep/sheep}
export SHEEP=${SHEEP:-$SHEEP_PROG}
-export SHEEP_OPTIONS=${SHEEP_OPTIONS:-"-n -y 127.0.0.1 -d"}
+export SHEEP_OPTIONS=${SHEEP_OPTIONS:-"-n -y 127.0.0.1 -l level=7"}
export DOG_PROG=${DOG_PROG:-../../dog/dog}
export DOG=${DOG:-$DOG_PROG}
export VALGRIND_OPTIONS=${VALGRIND_OPTIONS:-"-q"}
--
1.7.9.5
More information about the sheepdog
mailing list