Hello Everyone,
These patches increase test coverage for yank, add tests and fix bugs and
crashes in yank in combination with chardev-change.
Regards,
Lukas Straub
Based-on: <20210316135907.3646901-1-armbru@redhat.com>
([PATCH] yank: Avoid linking into executables that don't want it)
Alternatively:
https://github.com/Lukey3332/qemu.git yank_next
Lukas Straub (5):
tests: Use the normal yank code instead of stubs in relevant tests
tests: Add tests for yank with the chardev-change
chardev/char.c: Move object_property_try_add_child out of chardev_new
chardev/char.c: Always pass id to chardev_new
chardev: Fix yank with the chardev-change case
MAINTAINERS | 1 +
chardev/char-socket.c | 20 +++-
chardev/char.c | 74 ++++++++-----
include/chardev/char.h | 4 +
tests/qtest/meson.build | 6 +-
tests/unit/meson.build | 5 +-
tests/unit/test-yank.c | 240 ++++++++++++++++++++++++++++++++++++++++
7 files changed, 317 insertions(+), 33 deletions(-)
create mode 100644 tests/unit/test-yank.c
--
2.30.2