Skip to content

Commit

Permalink
Skip the af_alg tests in Cirrus CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
asomers committed Jun 7, 2019
1 parent 9428caa commit acaf703
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/sys/test_socket.rs
Expand Up @@ -187,9 +187,12 @@ pub fn test_scm_rights() {
close(w).unwrap();
}

// Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
// Disable the test on emulated platforms due to not enabled support of AF_ALG
// in QEMU from rust cross
#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "i686")), ignore)]
#[cfg(any(target_os = "linux", target_os= "android"))]
// This test fails in Cirrus-CI for an unknown reason
#[cfg_attr(cirrus, ignore)]
#[test]
pub fn test_af_alg_cipher() {
use libc;
Expand Down Expand Up @@ -254,6 +257,8 @@ pub fn test_af_alg_cipher() {
// Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross
#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "i686")), ignore)]
#[cfg(any(target_os = "linux", target_os= "android"))]
// This test fails in Cirrus-CI for an unknown reason
#[cfg_attr(cirrus, ignore)]
#[test]
pub fn test_af_alg_aead() {
use libc;
Expand Down

0 comments on commit acaf703

Please sign in to comment.