[Spice-devel] [PATCH spice-server v2 0/7] Multiple improvements for Smartcard code
Frediano Ziglio
fziglio at redhat.com
Tue Oct 8 17:39:17 UTC 2019
Multiple fixes and automatic test of the device/channel.
Improve previous series.
Most fixes came from automatic test.
Frediano Ziglio (7):
smartcard-channel-client: Remove properties code
smartcard-channel-client: Use log instead of printf
smartcard: Do not crash if reader_id is invalid
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-channel-client.c | 29 +--
server/smartcard.c | 31 ++-
server/tests/.gitignore | 1 +
server/tests/Makefile.am | 6 +
server/tests/meson.build | 6 +
server/tests/test-smartcard.c | 378 ++++++++++++++++++++++++++++++
server/tests/test-stream-device.c | 224 +++++-------------
server/tests/vmc-emu.c | 124 ++++++++++
server/tests/vmc-emu.h | 51 ++++
9 files changed, 652 insertions(+), 198 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
More information about the Spice-devel
mailing list