qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v2 12/18] test-iov: Disable iov/io test on OpenB


From: Philippe Mathieu-Daudé
Subject: [Qemu-devel] [RFC PATCH v2 12/18] test-iov: Disable iov/io test on OpenBSD
Date: Tue, 29 Jan 2019 18:53:57 +0100

The iov/io test hangs on OpenBSD. Disable it.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 tests/test-iov.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/test-iov.c b/tests/test-iov.c
index 458ca25099..9288b7b862 100644
--- a/tests/test-iov.c
+++ b/tests/test-iov.c
@@ -147,9 +147,11 @@ static void test_to_from_buf(void)
 
 static void test_io(void)
 {
-#ifndef _WIN32
-/* socketpair(PF_UNIX) which does not exist on windows */
-
+#if defined(_WIN32)
+    /* socketpair(PF_UNIX) which does not exist on windows */
+#elif defined(__OpenBSD__)
+    /* FIXME: this test hangs on OpenBSD */
+#else
     int sv[2];
     int r;
     unsigned i, j, k, s, t;
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]