mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 18:34:19 +00:00
server/tests: show port to connect to
This commit is contained in:
parent
148dabdf62
commit
87486fd790
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user