File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -917,9 +917,15 @@ pub fn test_scm_rights() {
917917    close ( received_r) . unwrap ( ) ; 
918918} 
919919
920- // Disable the test on emulated platforms due to not enabled support of AF_ALG in QEMU from rust cross 
920+ // 1. Disable the test on emulated platforms due to not enabled support of 
921+ //    AF_ALG in QEMU from rust cross 
922+ // 2. Disable the test on aarch64/Linux CI because bind() fails with ENOENT 
923+ //    https://github.com/nix-rust/nix/issues/1352 
921924#[ cfg( linux_android) ]  
922- #[ cfg_attr( qemu,  ignore) ]  
925+ #[ cfg_attr(  
926+     any( qemu,  all( target_os = "linux" ,  target_arch = "aarch64" ) ) ,  
927+     ignore 
928+ ) ] 
923929#[ test]  
924930pub  fn  test_af_alg_cipher ( )  { 
925931    use  nix:: sys:: socket:: sockopt:: AlgSetKey ; 
@@ -930,11 +936,6 @@ pub fn test_af_alg_cipher() {
930936    use  nix:: unistd:: read; 
931937    use  std:: io:: IoSlice ; 
932938
933-     skip_if_cirrus ! ( "Fails for an unknown reason Cirrus CI.  Bug #1352" ) ; 
934-     // Travis's seccomp profile blocks AF_ALG 
935-     // https://docs.docker.com/engine/security/seccomp/ 
936-     skip_if_seccomp ! ( test_af_alg_cipher) ; 
937- 
938939    let  alg_type = "skcipher" ; 
939940    let  alg_name = "ctr-aes-aesni" ; 
940941    // 256-bits secret key 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments