test: add some chardev mux event tests
commitd45f80ba82f281a35168011125cf6664cd217c22
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 3 Nov 2017 15:28:24 +0000 (3 16:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:32 +0000 (21 09:30 +0100)
tree772edaf911df5aa82cec8f2708974f3cd25150e5
parentd09c4a47874f30820b08c39ad39bcca9b8cde084
test: add some chardev mux event tests

Check the expected behaviour of qemu_chr_be_event() on a mux chardev.

For some reason, sending the event on the base chardev broadcast to
all frontends, while sending it on the mux chardev itself should
trigger the event on the currently focused chardev frontend.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20171103152824.21948-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/test-char.c