Skip to content
Snippets Groups Projects
Commit 2c58c27b authored by Markus Armbruster's avatar Markus Armbruster Committed by Thomas Huth
Browse files

tests: Clean up wait for event


We still use hacks like qmp("") to wait for an event, even though we
have qmp_eventwait() since commit 8fe941f7, and qmp_eventwait_ref()
since commit 7ffe3124.  Both commits neglected to convert all the
existing hacks.  Make up what they missed.

Bonus: gets rid of empty format strings.  A step towards compile-time
format string checking without triggering -Wformat-zero-length.

Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
[thuth: dropped the hunks from the usb tests - not needed anymore]
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent bec9c64e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment