Message ID | 20230103110814.3726795-6-marcandre.lureau@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Various win32 fixes & new 'get-win32-socket' QMP command | expand |
On 03/01/2023 12.08, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau <marcandre.lureau@redhat.com> > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > tests/qtest/readconfig-test.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/tests/qtest/readconfig-test.c b/tests/qtest/readconfig-test.c > index c7a9b0c7dd..9ef870643d 100644 > --- a/tests/qtest/readconfig-test.c > +++ b/tests/qtest/readconfig-test.c > @@ -109,8 +109,10 @@ static void test_spice(void) > QTestState *qts; > const char *cfgdata = > "[spice]\n" > - "disable-ticketing = \"on\"\n" > - "unix = \"on\"\n"; > +#ifndef WIN32 > + "unix = \"on\"\n" > +#endif > + "disable-ticketing = \"on\"\n"; > > qts = qtest_init_with_config(cfgdata); > /* Test valid command */ Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/tests/qtest/readconfig-test.c b/tests/qtest/readconfig-test.c index c7a9b0c7dd..9ef870643d 100644 --- a/tests/qtest/readconfig-test.c +++ b/tests/qtest/readconfig-test.c @@ -109,8 +109,10 @@ static void test_spice(void) QTestState *qts; const char *cfgdata = "[spice]\n" - "disable-ticketing = \"on\"\n" - "unix = \"on\"\n"; +#ifndef WIN32 + "unix = \"on\"\n" +#endif + "disable-ticketing = \"on\"\n"; qts = qtest_init_with_config(cfgdata); /* Test valid command */