qemu-iotests: s390x: fix test 051
authorBo Tu <tubo@linux.vnet.ibm.com>
Thu, 3 Dec 2015 10:01:30 +0000 (18:01 +0800)
committerMax Reitz <mreitz@redhat.com>
Fri, 18 Dec 2015 13:36:17 +0000 (14:36 +0100)
commit289f3ebae85f28082960317f2a4271bc3c03df10
tree4d6557455490f21f9264dcb99b6807d4bfe60cff
parent8a7607c2e201f22aa73df03661c23c7d1fbd7540
qemu-iotests: s390x: fix test 051

The tests for ide device should only be tested for the pc
platform.
Set device_id to "drive0", and replace every "-drive file..."
by "-drive file=...,if=none,id=$device_id", then x86 and s390x
can get the common output in the test of "Snapshot mode".
Warning message expected for s390x when drive without device.
A x86 platform specific output file is also needed.

Reviewed-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Signed-off-by: Bo Tu <tubo@linux.vnet.ibm.com>
Message-id: 1449136891-26850-3-git-send-email-tubo@linux.vnet.ibm.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/051
tests/qemu-iotests/051.out
tests/qemu-iotests/051.pc.out [new file with mode: 0644]