[sheepdog] [PATCH v4 1/3] tests/functional/058: refine the test to catch more bug
Liu Yuan
namei.unix at gmail.com
Thu Jul 18 08:38:01 CEST 2013
This found bug will be addressed by later patch
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
tests/functional/058 | 6 +++---
tests/functional/058.out | 4 ----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/tests/functional/058 b/tests/functional/058
index 3bbb789..d7d2e9e 100755
--- a/tests/functional/058
+++ b/tests/functional/058
@@ -15,12 +15,12 @@ status=1 # failure is the default!
_cleanup
for i in 0 1 2; do
- _start_sheep $i
+ _start_sheep $i "-w size=200"
done
_wait_for_sheep 3
_cluster_format
-$COLLIE vdi create test 100M -P
-_node_info
+$COLLIE vdi create test 100M
+dd if=/dev/zero | $COLLIE vdi write -w test
qemu-io -c "discard 0 100m" sheepdog:test | _filter_qemu_io
$COLLIE vdi check test
for i in `seq 0 24`; do
diff --git a/tests/functional/058.out b/tests/functional/058.out
index 758a027..b8eb9a2 100644
--- a/tests/functional/058.out
+++ b/tests/functional/058.out
@@ -1,9 +1,5 @@
QA output created by 058
using backend plain store
-STORE DATA VDI VMSTATE ATTR STALE
-0 25 1 0 0 0
-1 25 1 0 0 0
-2 25 1 0 0 0
discard 104857600/104857600 bytes at offset 0
100 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
finish check&repair test
--
1.7.9.5
More information about the sheepdog
mailing list