[sheepdog] [PATCH 3/3] tests: use new cache options

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Aug 30 11:02:58 CEST 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 tests/018 |    4 ++--
 tests/019 |    2 +-
 tests/020 |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/018 b/tests/018
index 238f892..32fcdf1 100755
--- a/tests/018
+++ b/tests/018
@@ -16,7 +16,7 @@ status=1        # failure is the default!
 _cleanup
 
 for i in `seq 0 2`; do
-    _start_sheep $i "-w 100,writeback"
+    _start_sheep $i "-w 100"
 done
 
 _wait_for_sheep "3"
@@ -25,7 +25,7 @@ $COLLIE cluster format -c 2
 
 $COLLIE vdi create test 4M
 
-dd if=/dev/urandom | $COLLIE vdi write -C test
+dd if=/dev/urandom | $COLLIE vdi write -w test
 
 $COLLIE vdi flush test
 
diff --git a/tests/019 b/tests/019
index e220400..f669472 100755
--- a/tests/019
+++ b/tests/019
@@ -25,7 +25,7 @@ $COLLIE cluster format -c 2
 
 $COLLIE vdi create test 4M
 
-dd if=/dev/urandom | $COLLIE vdi write -C test
+dd if=/dev/urandom | $COLLIE vdi write test
 
 for port in `seq 0 2`; do
     $COLLIE vdi read test -p 700$port | md5sum > /tmp/csum.$port
diff --git a/tests/020 b/tests/020
index 64439b8..a3ae565 100755
--- a/tests/020
+++ b/tests/020
@@ -25,7 +25,7 @@ $COLLIE cluster format -c 2
 
 $COLLIE vdi create test 40M
 
-dd if=/dev/urandom | $COLLIE vdi write -C test
+dd if=/dev/urandom | $COLLIE vdi write test
 
 # check cache size, should be 20 * 80%
 nr=`ls /tmp/sheepdog/0/cache/7c2b25 | wc -l`
-- 
1.7.2.5




More information about the sheepdog mailing list