tests/readconfig: spice doesn't support unix socket on windows yet
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 3 Jan 2023 11:08:09 +0000 (15:08 +0400)
committerThomas Huth <thuth@redhat.com>
Mon, 9 Jan 2023 12:50:13 +0000 (13:50 +0100)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230103110814.3726795-6-marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/readconfig-test.c

index c7a9b0c7dd6a805b5c0192f0bf872cd15a73c317..9ef870643dcd14fbe078915376f28229ab87cac7 100644 (file)
@@ -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 */