iotests: 091: Quit QEMU before checking image
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d5b8336a62
commit
8b084489b0
@ -95,7 +95,9 @@ echo "vm2: qemu process running successfully"
|
||||
echo "vm2: flush io, and quit"
|
||||
_send_qemu_cmd $h2 'qemu-io disk flush' "(qemu)"
|
||||
_send_qemu_cmd $h2 'quit' ""
|
||||
_send_qemu_cmd $h1 'quit' ""
|
||||
|
||||
wait
|
||||
echo "Check image pattern"
|
||||
${QEMU_IO} -c "read -P 0x22 0 4M" "${TEST_IMG}" | _filter_testdir | _filter_qemu_io
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user