[Spice-devel] [spice-server 4/8] test-listen: Add test case port/address configuration

Christophe Fergeau cfergeau at redhat.com
Mon Mar 12 10:12:27 UTC 2018


On Fri, Mar 09, 2018 at 06:36:24AM -0500, Frediano Ziglio wrote:
> > +static void test_connect_plain(void)
> > +{
> > +    GThread *thread;
> > +    int result;
> > +
> > +    /* server */
> > +    SpiceServer *server = spice_server_new();
> > +    core = basic_event_loop_init();
> > +    spice_server_set_name(server, "SPICE listen test");
> > +    spice_server_set_noauth(server);
> > +    spice_server_set_port(server, 5701);
> 
> Fixed port? I remember on another test you moved to dynamic ones
> to avoid problems with -j.
> I suppose you used a port number which is supposed to be
> not used and no clashing with other tests.

Nope, definitely not do that, so yes, I'll need to change it ;) Thanks,

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180312/318a3fe7/attachment.sig>


More information about the Spice-devel mailing list