]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qemu-iotests: fix 028 failure due to disk image path
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 17 Jul 2014 18:09:39 +0000 (19:09 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 18 Jul 2014 12:27:11 +0000 (13:27 +0100)
commit8283c5c316333fb9d2540167f3e22bd91404ecee
tree8866d198852d5887669bd032b978d445d1f89a09
parentdf26a35025427f34c1d4e5a8e51152371a5e231e
qemu-iotests: fix 028 failure due to disk image path

The disk image path is echoed by QEMU's readline when the "drive_backup
disk ${TEST_IMG}.copy" HMP command is issued.  Unfortunately it is very
hard to filter out the path due to readline's character-by-character
output (with terminal escape sequences).  Just redirect this command to
/dev/null for now.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/028
tests/qemu-iotests/028.out