[sheepdog] [PATCH 3/5] tests: correct vdi list

Wang dongxu wangdongxu at cmss.chinamobile.com
Wed Feb 11 16:26:20 CET 2015


dog vdi list add column "Block Size Shift", add them to test cases.

Signed-off-by: Wang dongxu <wangdongxu at cmss.chinamobile.com>
---
 tests/functional/073.out |  2 +-
 tests/functional/081.out |  6 +++---
 tests/functional/082.out |  6 +++---
 tests/functional/087.out | 10 +++++-----
 tests/functional/089.out |  2 +-
 tests/functional/090.out |  6 +++---
 tests/functional/099.out |  4 ++--
 7 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/tests/functional/073.out b/tests/functional/073.out
index 8dd2173..3c5fd47 100644
--- a/tests/functional/073.out
+++ b/tests/functional/073.out
@@ -6,6 +6,6 @@ Cluster created at DATE
 
 Epoch Time           Version [Host:Port:V-Nodes,,,]
 DATE      1 [127.0.0.1:7000:128, 127.0.0.1:7001:128, 127.0.0.1:7002:128]
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   test         0  4.0 MB  0.0 MB  0.0 MB DATE   7c2b25      3              
 hello
diff --git a/tests/functional/081.out b/tests/functional/081.out
index 92df8ca..7092e97 100644
--- a/tests/functional/081.out
+++ b/tests/functional/081.out
@@ -55,7 +55,7 @@ vdi.c
 < HTTP/1.1 416 Requested Range Not Satisfiable
 < HTTP/1.1 416 Requested Range Not Satisfiable
 < HTTP/1.1 416 Requested Range Not Satisfiable
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2              
@@ -65,7 +65,7 @@ data137
 data19
 data4
 data97
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2              
@@ -73,7 +73,7 @@ data97
   sd/sheep/allocator     0   16 PB  268 MB  0.0 MB DATE   fd57fc    4:2              
 dog
 sheep
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2              
diff --git a/tests/functional/082.out b/tests/functional/082.out
index b3f4dd9..78c5e6a 100644
--- a/tests/functional/082.out
+++ b/tests/functional/082.out
@@ -60,7 +60,7 @@ trace.c
 treeview.c
 trunk.c
 vdi.c
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2              
@@ -78,7 +78,7 @@ data6
 data7
 data8
 data9
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2              
@@ -86,7 +86,7 @@ data9
   sd/sheep/allocator     0   16 PB  316 MB  0.0 MB DATE   fd57fc    4:2              
 dog
 sheep
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2              
diff --git a/tests/functional/087.out b/tests/functional/087.out
index 04e4210..0fcc7f3 100644
--- a/tests/functional/087.out
+++ b/tests/functional/087.out
@@ -2,11 +2,11 @@ QA output created by 087
 using backend plain store
 206
 206
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  8.0 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  388 MB  0.0 MB DATE   fd57fc    4:2              
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  8.0 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  4.0 MB  0.0 MB DATE   fd57fc    4:2              
@@ -16,17 +16,17 @@ using backend plain store
 409
 409
 data_
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB   12 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  4.0 MB  0.0 MB DATE   fd57fc    4:2              
 409
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB   12 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  196 MB  0.0 MB DATE   fd57fc    4:2              
 409
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB   12 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  4.0 MB  0.0 MB DATE   fd57fc    4:2              
diff --git a/tests/functional/089.out b/tests/functional/089.out
index b0c7869..281c9c1 100644
--- a/tests/functional/089.out
+++ b/tests/functional/089.out
@@ -1,6 +1,6 @@
 QA output created by 089
 using backend plain store
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd           0   16 PB  4.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB   16 MB  0.0 MB DATE   8ad11e    4:2              
   sd/sheep/allocator     0   16 PB  268 MB  0.0 MB DATE   fd57fc    4:2              
diff --git a/tests/functional/090.out b/tests/functional/090.out
index 5ad3422..b8b607c 100644
--- a/tests/functional/090.out
+++ b/tests/functional/090.out
@@ -1,18 +1,18 @@
 QA output created by 090
 using backend plain store
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB  0.0 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  4.0 MB  0.0 MB DATE   8ad11e    4:2              
   sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2              
   sd/sheep/allocator     0   16 PB   32 MB  0.0 MB DATE   fd57fc    4:2              
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB  0.0 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB  8.0 MB  0.0 MB DATE   8ad11e    4:2              
   sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2              
   sd/sheep/allocator     0   16 PB   44 MB  0.0 MB DATE   fd57fc    4:2              
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   sd/dog       0   16 PB  0.0 MB  0.0 MB DATE   5a5cbf    4:2              
   sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2              
   sd/sheep     0   16 PB   12 MB  0.0 MB DATE   8ad11e    4:2              
diff --git a/tests/functional/099.out b/tests/functional/099.out
index 9d3ab4d..bc76096 100644
--- a/tests/functional/099.out
+++ b/tests/functional/099.out
@@ -1,6 +1,6 @@
 QA output created by 099
 using backend plain store
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
   test         0   16 MB   16 MB  0.0 MB DATE   7c2b25      3              
 STORE/0/obj/007c2b2500000000
 STORE/0/obj/007c2b2500000001
@@ -17,7 +17,7 @@ STORE/3/obj/007c2b2500000001
 STORE/3/obj/007c2b2500000002
 STORE/3/obj/007c2b2500000003
 STORE/3/obj/807c2b2500000000
-  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
+  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
 STORE/0/obj/807c2b2500000000
 STORE/1/obj/807c2b2500000000
 STORE/2/obj/807c2b2500000000
-- 
2.1.0






More information about the sheepdog mailing list