[Spice-devel] [PATCH 2/5] controller_test: add ENABLE_SMARTCARD

Alon Levy alevy at redhat.com
Sun Feb 26 08:43:32 PST 2012


---
 client/tests/controller_test/controller_test.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/client/tests/controller_test/controller_test.cpp b/client/tests/controller_test/controller_test.cpp
index 4994613..aa7a6c0 100644
--- a/client/tests/controller_test/controller_test.cpp
+++ b/client/tests/controller_test/controller_test.cpp
@@ -169,6 +169,10 @@ int main(int argc, char *argv[])
 
     send_data(CONTROLLER_CREATE_MENU, (uint8_t*)MENU, sizeof(MENU));
 
+    printf("Smartcard...\n");
+    getchar();
+    send_value(CONTROLLER_ENABLE_SMARTCARD, 1);
+
     send_value(CONTROLLER_FULL_SCREEN, /*CONTROLLER_SET_FULL_SCREEN |*/ CONTROLLER_AUTO_DISPLAY_RES);
     printf("Show...\n");
     getchar();
-- 
1.7.9.1



More information about the Spice-devel mailing list