Multiple fixes and automatic test of the device/channel. Improve previous series. Most fixes came from automatic test. Changes since v2: - update some comments; - split one fix into 2. Frediano Ziglio (5): smartcard: Fix copying remaining request smartcard: Fix parsing multiple messages from the device test-stream-device: Factor out VMC emulation test-smartcard: Add test for Smartcard device test-smardcard: Improve test coverage server/smartcard.c | 27 ++- server/tests/.gitignore | 1 + server/tests/Makefile.am | 6 + server/tests/meson.build | 6 + server/tests/test-smartcard.c | 379 ++++++++++++++++++++++++++++++ server/tests/test-stream-device.c | 224 +++++------------- server/tests/vmc-emu.c | 124 ++++++++++ server/tests/vmc-emu.h | 51 ++++ 8 files changed, 648 insertions(+), 170 deletions(-) create mode 100644 server/tests/test-smartcard.c create mode 100644 server/tests/vmc-emu.c create mode 100644 server/tests/vmc-emu.h -- 2.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel