Skip to content

Commit acaf703

Browse files
committed
Skip the af_alg tests in Cirrus CI
I don't know why they fail. It's probably either a kernel bug or an undocumented restriction. According to /proc/crypto these algorithms _are_ supported on Cirrus's VMs.
1 parent 9428caa commit acaf703

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/sys/test_socket.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,12 @@ pub fn test_scm_rights() {
187187
close(w).unwrap();
188188
}
189189

190-
// Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
190+
// Disable the test on emulated platforms due to not enabled support of AF_ALG
191+
// in QEMU from rust cross
191192
#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "i686")), ignore)]
192193
#[cfg(any(target_os = "linux", target_os= "android"))]
194+
// This test fails in Cirrus-CI for an unknown reason
195+
#[cfg_attr(cirrus, ignore)]
193196
#[test]
194197
pub fn test_af_alg_cipher() {
195198
use libc;
@@ -254,6 +257,8 @@ pub fn test_af_alg_cipher() {
254257
// Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
255258
#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "i686")), ignore)]
256259
#[cfg(any(target_os = "linux", target_os= "android"))]
260+
// This test fails in Cirrus-CI for an unknown reason
261+
#[cfg_attr(cirrus, ignore)]
257262
#[test]
258263
pub fn test_af_alg_aead() {
259264
use libc;

0 commit comments

Comments
 (0)