diff options
author | Fam Zheng <famz@redhat.com> | 2017-05-03 00:35:47 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-05-11 11:08:40 +0200 |
commit | 8b084489b06c8dbc7fb6be3bba713fbbb9886b43 (patch) | |
tree | 94f7bb6d6dbecfc941ee51ed7d9a6400abec7141 /tests/qemu-iotests/091 | |
parent | d5b8336a6284fa4d75eaae3ac0bfb974cb7f5f4a (diff) |
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>
Diffstat (limited to 'tests/qemu-iotests/091')
-rwxr-xr-x | tests/qemu-iotests/091 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/091 b/tests/qemu-iotests/091 index 32bbd56975..10ac4a8d73 100755 --- a/tests/qemu-iotests/091 +++ b/tests/qemu-iotests/091 @@ -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 |