From f9ed9f0708bb78ca06b2f25350ed4954625608ec Mon Sep 17 00:00:00 2001 From: Petr Sumbera Date: Mon, 2 Dec 2024 01:21:42 +0100 Subject: [PATCH] Disables sys::test_uio::test_writev for Solaris (#2554) --- test/sys/test_uio.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index f7d648403e..22248db141 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -14,6 +14,8 @@ use tempfile::tempdir; use tempfile::tempfile; #[test] +// On Solaris sometimes wrtitev() returns EINVAL. +#[cfg(not(target_os = "solaris"))] fn test_writev() { let mut to_write = Vec::with_capacity(16 * 128); for _ in 0..16 {