]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorTest: Make check for monitor command match optional
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 19 Sep 2013 13:19:08 +0000 (15:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 1 Oct 2013 08:48:47 +0000 (10:48 +0200)
commitbd958586ec5c4a5905114f2bab9cedd958ef5a2f
tree687542997988de79897e9b70c1f2506983b9be97
parent0badd8a43d252a7a92f903e32e5ab760d4f4af43
qemuMonitorTest: Make check for monitor command match optional

In a few cases we might want to not care if monitor command executed on
the mocked monitor matches the one we have reply for. Sounds crazy, but
if we just want monitor to return certain values (e.g. read from a file)
there is no need to care about command match.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemumonitortestutils.c