[sheepdog] [PATCH 6/6] tests/039: fix the output for the refactored vdi code

Liu Yuan namei.unix at gmail.com
Mon Apr 22 17:34:15 CEST 2013

From: Liu Yuan <tailai.ly at taobao.com>

Highest snapid is internally used by SD for the next snapshot, it should means
not exist for users. So we should NO_TAG if users want to access with this
invalid tag.

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
 tests/039.out |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/039.out b/tests/039.out
index 5207bb2..980a21f 100644
--- a/tests/039.out
+++ b/tests/039.out
@@ -46,7 +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 : Invalid parameters
+Cannot get VDI info for test 5 : Failed to find requested tag
 Failed to open VDI test
 This operation dicards any changes made since the previous
 snapshot was taken.  Continue? [yes/no]: read 512/512 bytes at offset 0

More information about the sheepdog mailing list