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

Philippe Mathieu-Daudé posted 18 patches 6 years, 9 months ago
Maintainers: "Philippe Mathieu-Daudé" <philmd@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Fam Zheng <fam@euphon.net>, "Alex Bennée" <alex.bennee@linaro.org>, Brad Smith <brad@comstyle.com>
[Qemu-devel] [RFC PATCH v2 12/18] test-iov: Disable iov/io test on OpenBSD
Posted by Philippe Mathieu-Daudé 6 years, 9 months ago
The iov/io test hangs on OpenBSD. Disable it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 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