Skip to content

Commit

Permalink
unignore on x86, add upstream bug ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Jul 11, 2018
1 parent fa5dbcf commit fb960c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/sys/test_socket.rs
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit fb960c4

Please sign in to comment.