[sheepdog] [PATCH 1/4] tests/functional: use dog instead of qemu-img in 016

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue May 6 17:25:52 CEST 2014


From: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>

It seems that qemu-img command has a bug of using cluster's nr_copies
instead of vdi's original nr_copies when it creates snapshot. This
patch lets 016 not use qemu-img.

Cc: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Cc: Valerio Pachera <sirio81 at gmail.com>
Cc: Alessandro Bolgia <alessandro at extensys.it>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 tests/functional/016 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/functional/016 b/tests/functional/016
index 7d62ee6..ca20a71 100755
--- a/tests/functional/016
+++ b/tests/functional/016
@@ -13,7 +13,7 @@ _wait_for_sheep 6
 _cluster_format -c 6
 _vdi_create base 100M -P
 
-$QEMU_IMG snapshot -c tag sheepdog:base
+$DOG vdi snapshot base -s tag
 
 sleep 1
 
-- 
1.9.1




More information about the sheepdog mailing list