summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-02-26 12:32:02 +0100
committerAlon Levy <alevy@redhat.com>2012-02-28 14:41:30 +0200
commit8b0dcb5e0cf5a5acfbbb0ee4bb815a0bf710d41b (patch)
tree49d4e7813e0e6bd05267417be04dc5795002487d
parent8943feccfc8efc27328ef239da38b20922e2656e (diff)
downloadspice-8b0dcb5e0cf5a5acfbbb0ee4bb815a0bf710d41b.tar.gz
spice-8b0dcb5e0cf5a5acfbbb0ee4bb815a0bf710d41b.tar.xz
spice-8b0dcb5e0cf5a5acfbbb0ee4bb815a0bf710d41b.zip
controller_test: add ENABLE_SMARTCARD
-rw-r--r--client/tests/controller_test/controller_test.cpp4
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 4994613c..aa7a6c0c 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();