summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-05-08 14:32:22 +0300
committerAlon Levy <alevy@redhat.com>2011-05-09 09:46:22 +0300
commit3290cb69d408692639d96aaba71b90f2b7e050a7 (patch)
tree35ee825ddf544f45c933408beec7c98dd588f0a7
parente38822a2ad1efb7424dcf3d09755a39badf69693 (diff)
server/tests: show port to connect to
-rw-r--r--server/tests/test_display_base.c4
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);