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

2018-03-12 Thread Christophe Fergeau
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(); > > +

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

2018-03-09 Thread Frediano Ziglio
> > This test case will be testing the external spice-server API to > configure the address/port it's listening on. For now it sets up a > listening server, spawns a thread which is going to connect to that > port, and check it gets the REDQ magic upon connection. It will be > extended to test

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

2018-03-06 Thread Christophe Fergeau
This test case will be testing the external spice-server API to configure the address/port it's listening on. For now it sets up a listening server, spawns a thread which is going to connect to that port, and check it gets the REDQ magic upon connection. It will be extended to test for Unix