[sheepdog] [PATCH 1/2] tests/func/030: refine test to reflect default format parameter
Liu Yuan
namei.unix at gmail.com
Tue Mar 25 08:25:59 CET 2014
Now we can restore 100% for 'cluster snapshot' so add test for it.
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
tests/functional/030 | 2 ++
tests/functional/030.out | 7 +++++++
2 files changed, 9 insertions(+)
diff --git a/tests/functional/030 b/tests/functional/030
index 2f3d4dc..460ecc9 100755
--- a/tests/functional/030
+++ b/tests/functional/030
@@ -83,3 +83,5 @@ $DOG vdi read -s 1 test1 | md5sum > $STORE/csum.11.new
$DOG vdi read -s 1 test2 | md5sum > $STORE/csum.21.new
diff -u $STORE/csum.11.org $STORE/csum.11.new
diff -u $STORE/csum.21.org $STORE/csum.21.new
+
+$DOG cluster info -s | _filter_cluster_info
diff --git a/tests/functional/030.out b/tests/functional/030.out
index c47ffaa..27f8e76 100644
--- a/tests/functional/030.out
+++ b/tests/functional/030.out
@@ -35,3 +35,10 @@ s test1 2 10 MB 12 MB 0.0 MB DATE fd32fd 6
s test2 1 10 MB 12 MB 0.0 MB DATE fd3815 6
s test2 2 10 MB 12 MB 0.0 MB DATE fd3816 6
test2 0 10 MB 0.0 MB 12 MB DATE fd3817 6
+Cluster status: running, auto-recovery enabled
+Cluster store: plain with 6 redundancy policy
+
+Cluster created at DATE
+
+Epoch Time Version
+DATE 1 [127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002, 127.0.0.1:7003, 127.0.0.1:7004, 127.0.0.1:7005]
--
1.8.1.2
More information about the sheepdog
mailing list