[sheepdog] [PATCH 5/5] test/func: add test case for duplicated snapshot tag
Ruoyu
liangry at ucweb.com
Thu Sep 4 15:44:12 CEST 2014
Signed-off-by: Ruoyu <liangry at ucweb.com>
---
tests/functional/016 | 1 +
tests/functional/016.out | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/functional/016 b/tests/functional/016
index ca20a71..98f685d 100755
--- a/tests/functional/016
+++ b/tests/functional/016
@@ -14,6 +14,7 @@ _cluster_format -c 6
_vdi_create base 100M -P
$DOG vdi snapshot base -s tag
+$DOG vdi snapshot base -s tag
sleep 1
diff --git a/tests/functional/016.out b/tests/functional/016.out
index 1423522..ab648d4 100644
--- a/tests/functional/016.out
+++ b/tests/functional/016.out
@@ -1,5 +1,6 @@
QA output created by 016
using backend plain store
+Failed to create snapshot for base, maybe snapshot id (0) or tag (tag) is existed
there should be no vdi
Name Id Size Used Shared Creation time VDI id Copies Tag
there should be no object
--
1.8.3.2
More information about the sheepdog
mailing list