Skip to content

Commit e808def

Browse files
committed
Skip the AF_ALG tests on Cirrus-CI
Issue #1352
1 parent 54881b8 commit e808def

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

test/sys/test_socket.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -600,14 +600,13 @@ pub fn test_af_alg_cipher() {
600600
ControlMessage, MsgFlags};
601601
use nix::sys::socket::sockopt::AlgSetKey;
602602

603-
skip_if_cirrus!("Fails for an unknown reason Cirrus CI. Bug #TODO");
603+
skip_if_cirrus!("Fails for an unknown reason Cirrus CI. Bug #1352");
604604
// Travis's seccomp profile blocks AF_ALG
605605
// https://docs.docker.com/engine/security/seccomp/
606606
skip_if_seccomp!(test_af_alg_cipher);
607607

608608
let alg_type = "skcipher";
609609
let alg_name = "ctr-aes-aesni";
610-
//let alg_name = "ctr(aes)";
611610
// 256-bits secret key
612611
let key = vec![0u8; 32];
613612
// 16-bytes IV
@@ -670,20 +669,16 @@ pub fn test_af_alg_aead() {
670669
ControlMessage, MsgFlags};
671670
use nix::sys::socket::sockopt::{AlgSetKey, AlgSetAeadAuthSize};
672671

673-
skip_if_cirrus!("Fails for an unknown reason Cirrus CI. Bug #TODO");
672+
skip_if_cirrus!("Fails for an unknown reason Cirrus CI. Bug #1352");
674673
// Travis's seccomp profile blocks AF_ALG
675674
// https://docs.docker.com/engine/security/seccomp/
676675
skip_if_seccomp!(test_af_alg_aead);
677676

678-
let crypto = std::fs::read_to_string("/proc/crypto").unwrap();
679-
print!("{}", crypto);
680-
681677
let auth_size = 4usize;
682678
let assoc_size = 16u32;
683679

684680
let alg_type = "aead";
685-
let alg_name = "generic-gcm-aesni";
686-
//let alg_name = "gcm(aes)";
681+
let alg_name = "gcm(aes)";
687682
// 256-bits secret key
688683
let key = vec![0u8; 32];
689684
// 12-bytes IV

0 commit comments

Comments
 (0)