From fb960c48c388f0274cd57a9432aa3d6bd5a2a066 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 11 Jul 2018 22:24:22 +0200 Subject: [PATCH] unignore on x86, add upstream bug ref --- test/sys/test_socket.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs index 48dbd00d2b..e5a69eb0f2 100644 --- a/test/sys/test_socket.rs +++ b/test/sys/test_socket.rs @@ -301,8 +301,9 @@ fn test_scm_credentials() { /// Ensure that we can send `SCM_CREDENTIALS` and `SCM_RIGHTS` with a single /// `sendmsg` call. #[cfg(any(target_os = "android", target_os = "linux"))] -// qemu's handling of multiple cmsgs is bugged, ignore tests on non-x86-64 -#[cfg_attr(not(target_arch = "x86_64"), ignore)] +// qemu's handling of multiple cmsgs is bugged, ignore tests on non-x86 +// see https://bugs.launchpad.net/qemu/+bug/1781280 +#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "x86")), ignore)] #[test] fn test_scm_credentials_and_rights() { use nix::sys::socket::CmsgSpace; @@ -314,8 +315,9 @@ fn test_scm_credentials_and_rights() { /// Ensure that passing a `CmsgSpace` with too much space for the received /// messages still works. #[cfg(any(target_os = "android", target_os = "linux"))] -// qemu's handling of multiple cmsgs is bugged, ignore tests on non-x86-64 -#[cfg_attr(not(target_arch = "x86_64"), ignore)] +// qemu's handling of multiple cmsgs is bugged, ignore tests on non-x86 +// see https://bugs.launchpad.net/qemu/+bug/1781280 +#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "x86")), ignore)] #[test] fn test_too_large_cmsgspace() { use nix::sys::socket::CmsgSpace;