summaryrefslogtreecommitdiffstats
path: root/server/tests/test_display_base.c
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
commit87486fd790eb14d3f71c27316cf9602009eccdd1 (patch)
tree5eb73310e34945b1cb4dbc04625b7767397e93d3 /server/tests/test_display_base.c
parent148dabdf62e64e7d0ef90d62590812a81255cfe9 (diff)
downloadspice-87486fd790eb14d3f71c27316cf9602009eccdd1.tar.gz
spice-87486fd790eb14d3f71c27316cf9602009eccdd1.tar.xz
spice-87486fd790eb14d3f71c27316cf9602009eccdd1.zip
server/tests: show port to connect to
Diffstat (limited to 'server/tests/test_display_base.c')
-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 104ab37e..76817d97 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);