[sheepdog] [PATCH 3/5] test/func: update output results because find_vdi_name is changed

Ruoyu liangry at ucweb.com
Thu Sep 4 15:44:10 CEST 2014


Signed-off-by: Ruoyu <liangry at ucweb.com>
---
 tests/functional/039.out |  3 +--
 tests/functional/041.out |  3 +--
 tests/functional/046.out | 12 ++++--------
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/tests/functional/039.out b/tests/functional/039.out
index 5f5158b..95761f6 100644
--- a/tests/functional/039.out
+++ b/tests/functional/039.out
@@ -46,8 +46,7 @@ wrote 512/512 bytes at offset 0
 wrote 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 The snapshot id must be larger than zero
-Cannot get VDI info for test 5 : Failed to find requested tag
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 5 snapshot tag: ): Failed to find requested tag
 This operation discards any changes made since the previous
 snapshot was taken.  Continue? [yes/no]: read 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
diff --git a/tests/functional/041.out b/tests/functional/041.out
index d0e78e5..26f2a75 100644
--- a/tests/functional/041.out
+++ b/tests/functional/041.out
@@ -58,6 +58,5 @@ d210baf5c55b42b5e0edf04a8535ad6d  -
 d210baf5c55b42b5e0edf04a8535ad6d  -
 d210baf5c55b42b5e0edf04a8535ad6d  -
 d210baf5c55b42b5e0edf04a8535ad6d  -
-Cannot get VDI info for test 0 non-existence-tag: Failed to find requested tag
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 0 snapshot tag: non-existence-tag): Failed to find requested tag
 Snapshot ID 0 or tag non-existence-tag doesn't exist
diff --git a/tests/functional/046.out b/tests/functional/046.out
index 6a9dbc8..8f19d12 100644
--- a/tests/functional/046.out
+++ b/tests/functional/046.out
@@ -4,21 +4,17 @@ delete snapshot image before current one
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
 s test         1  4.0 GB  0.0 MB  0.0 MB DATE   7c2b25      6          snap
   test         0  4.0 GB  0.0 MB  0.0 MB DATE   7c2b26      6              
-Cannot get VDI info for test 0 snap: Failed to find requested tag
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 0 snapshot tag: snap): Failed to find requested tag
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
   test         0  4.0 GB  0.0 MB  0.0 MB DATE   7c2b26      6              
-Cannot get VDI info for test 0 : No VDI found
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 0 snapshot tag: ): No VDI found
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
 delete current image before snapshot one
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
 s test         1  4.0 GB  0.0 MB  0.0 MB DATE   7c2b27      6          snap
   test         0  4.0 GB  0.0 MB  0.0 MB DATE   7c2b28      6              
-Cannot get VDI info for test 0 : No VDI found
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 0 snapshot tag: ): No VDI found
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
 s test         1  4.0 GB  0.0 MB  0.0 MB DATE   7c2b27      6          snap
-Cannot get VDI info for test 0 snap: No VDI found
-Failed to open VDI test
+Failed to open VDI test (snapshot id: 0 snapshot tag: snap): No VDI found
   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
-- 
1.8.3.2





More information about the sheepdog mailing list