Skip to content

Commit 49adb8d

Browse files
authored
skip test::sys::test_af_alg_cipher on s390x,powerpc64le/Linux too (#2722)
1 parent a9c73e0 commit 49adb8d

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

test/sys/test_socket.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,11 +921,21 @@ pub fn test_scm_rights() {
921921

922922
// 1. Disable the test on emulated platforms due to not enabled support of
923923
// AF_ALG in QEMU from rust cross
924-
// 2. Disable the test on aarch64/Linux CI because bind() fails with ENOENT
924+
// 2. Disable the test on aarch64/Linux, s390x/Linux, and powerpc64le/Linux
925+
// because bind() fails with ENOENT:
925926
// https://github.com/nix-rust/nix/issues/1352
926927
#[cfg(linux_android)]
927928
#[cfg_attr(
928-
any(qemu, all(target_os = "linux", target_arch = "aarch64")),
929+
any(
930+
qemu,
931+
all(target_os = "linux", target_arch = "aarch64"),
932+
all(target_os = "linux", target_arch = "s390x"),
933+
all(
934+
target_os = "linux",
935+
target_arch = "powerpc64",
936+
target_endian = "little"
937+
),
938+
),
929939
ignore
930940
)]
931941
#[test]

0 commit comments

Comments
 (0)