iotests.py: Let assert_qmp() accept an array
commita93a42bd918fdbc3e64f6b88c87ccbd6cc09c971
authorMax Reitz <mreitz@redhat.com>
Wed, 15 May 2019 20:15:01 +0000 (15 22:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 May 2019 15:08:57 +0000 (20 17:08 +0200)
tree8f38fccbfd82dce196a8d7dfa9688d8a7fcc0887
parent481e0eeef4fdf7e2ed42425e38d0a30ffd0e9b54
iotests.py: Let assert_qmp() accept an array

Sometimes we cannot tell which error message qemu will emit, and we do
not care.  With this change, we can then just pass an array of all
possible messages to assert_qmp() and it will choose the right one.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py