From 0d6383dd19d3ab5216c73dd27fc2f636ca4ce023 Mon Sep 17 00:00:00 2001 From: Niyaz Nigmatullin Date: Fri, 9 Sep 2022 16:10:42 +0300 Subject: [PATCH] test_cp: comment out `bad syscall` failing piece of code for Android --- tests/by-util/test_cp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index 25b67f579..56c23fd96 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -1389,6 +1389,7 @@ fn test_closes_file_descriptors() { let limit_fd: u64 = number_file_already_opened + 9; // For debugging purposes: + #[cfg(not(target_os = "android"))] for f in me.fd().unwrap() { let fd = f.unwrap(); println!("{:?} {:?}", fd, fd.mode());