Merge pull request #3915 from niyaznigmatullin/fix_android_bad_syscall

test_cp: comment out `bad syscall` failing piece of code for Android
This commit is contained in:
Sylvestre Ledru 2022-09-09 20:43:19 +02:00 committed by GitHub
commit 0e0d121a1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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());