[Spice-devel] [PATCH 1/3] server/tests: show port to connect to
Alon Levy
alevy at redhat.com
Sun May 8 05:27:18 PDT 2011
---
server/tests/test_display_base.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c
index 104ab37..76817d9 100644
--- a/server/tests/test_display_base.c
+++ b/server/tests/test_display_base.c
@@ -559,10 +559,12 @@ void test_set_simple_command_list(int* commands, int num_commands)
SpiceServer* test_init(SpiceCoreInterface *core)
{
+ int port = 5912;
SpiceServer* server = spice_server_new();
// some common initialization for all display tests
- spice_server_set_port(server, 5912);
+ printf("TESTER: listening on port %d (unsecure)\n", port);
+ spice_server_set_port(server, port);
spice_server_set_noauth(server);
spice_server_init(server, core);
--
1.7.5.1
More information about the Spice-devel
mailing list