test_cp: comment out bad syscall failing piece of code for Android

This commit is contained in:
Niyaz Nigmatullin
2022-09-09 16:12:05 +03:00
parent 2658f8ae5b
commit 0d6383dd19
+1
View File
@@ -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());