Signed-off-by: Liu Yuan <[email protected]> --- tests/functional/076 | 20 ++++++++++++++++++++ tests/functional/076.out | 3 +++ 2 files changed, 23 insertions(+)
diff --git a/tests/functional/076 b/tests/functional/076 index 31a4ea6..93153b3 100755 --- a/tests/functional/076 +++ b/tests/functional/076 @@ -21,3 +21,23 @@ for i in `seq 1 15`;do _kill_sheep $i;done $DOG vdi read test | md5sum > $STORE/csum2 diff -u $STORE/csum1 $STORE/csum2 + +_cleanup + +for i in `seq 0 2`; do + _start_sheep $i +done + +_wait_for_sheep 3 + +_cluster_format + +$DOG vdi create -c 2:1 test 40M +_vdi_list +_random | $DOG vdi write test +$DOG vdi read test | md5sum > $STORE/csum1 + +_kill_sheep 1; +$DOG vdi read test | md5sum > $STORE/csum2 + +diff -u $STORE/csum1 $STORE/csum2 diff --git a/tests/functional/076.out b/tests/functional/076.out index 1609dd3..01e5cba 100644 --- a/tests/functional/076.out +++ b/tests/functional/076.out @@ -2,3 +2,6 @@ QA output created by 076 using backend plain store Name Id Size Used Shared Creation time VDI id Copies Tag test 0 40 MB 0.0 MB 0.0 MB DATE 7c2b25 31 +using backend plain store + Name Id Size Used Shared Creation time VDI id Copies Tag + test 0 40 MB 0.0 MB 0.0 MB DATE 7c2b25 3 -- 1.7.9.5 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
