]> git.proxmox.com Git - qemu.git/commit
qemu-iotests: fix 017 018 for vmdk
authorFam Zheng <famz@redhat.com>
Tue, 7 May 2013 11:13:05 +0000 (19:13 +0800)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 May 2013 13:28:50 +0000 (15:28 +0200)
commit794d00f71d39e3d18eafade579b2ecb665d6d481
tree86215138e8c4249a5488bbc4ab3870f47fb371e7
parentdbcdd7cb04595cc0015f2dba6be751faa63fab00
qemu-iotests: fix 017 018 for vmdk

017 and 018 use /bin/mv to move base img from t.IMGFMG to t.IMGFMT.base
after filling data, this is not enough for vmdk, when t.IMGFMT is only a
description text file who points to t-{flat,s001,f001,...}.IMGFMT as
data extent, so testing such subformats alway fails on them.

This patch use the trick of temprorily changing TEST_IMG to avoid using
/bin/mv.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/017
tests/qemu-iotests/017.out
tests/qemu-iotests/018
tests/qemu-iotests/018.out