kvm.tests.qemu_img:use the same qemu_img_binary to backup and commit
Currently, the commit test just use qemu_img, which
install in the system as default, to make the backup
file, and use the qemu_img_binary which get the path
from env file. Thus may bring some bugs.
For example, if just use the qemu source code and
don't make install to the system(that means the
system haven't installed a qemu to /usr/local/bin
or other system bin path, and autotest just test
the qemu using the git tree), the test will not
find the qemu_img_binary to create the backing_file.
and another problem is the binary used to backup and
commit may be different version, this may cause a bug.
To solve the problem, make the same binary to backup
and commit.
Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录