aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-01-03 15:08:09 +0400
committerThomas Huth <thuth@redhat.com>2023-01-09 13:50:13 +0100
commitbeecc4b78d0d622a39e22edc6301be5282c4f2b5 (patch)
tree41e87734dd1274dc385b3cbd45b5612d834cfab3 /tests
parent057733f2e57e9793db6cc74e0df56dcb0bfe1bee (diff)
downloadqemu-beecc4b78d0d622a39e22edc6301be5282c4f2b5.zip
qemu-beecc4b78d0d622a39e22edc6301be5282c4f2b5.tar.gz
qemu-beecc4b78d0d622a39e22edc6301be5282c4f2b5.tar.bz2
tests/readconfig: spice doesn't support unix socket on windows yet
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/readconfig-test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/qtest/readconfig-test.c b/tests/qtest/readconfig-test.c
index c7a9b0c..9ef8706 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 */