Merge pull request #4241 from sylvestre/android-test

Ignore some cp tests on android
This commit is contained in:
Terts Diepraam 2022-12-18 00:50:17 +01:00 committed by GitHub
commit 03710a180e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2385,6 +2385,7 @@ fn test_reflink_never_sparse_always() {
/// Test for preserving attributes of a hard link in a directory.
#[test]
#[cfg(not(target_os = "android"))]
fn test_preserve_hardlink_attributes_in_directory() {
let (at, mut ucmd) = at_and_ucmd!();
@ -2413,7 +2414,7 @@ fn test_preserve_hardlink_attributes_in_directory() {
}
#[test]
#[cfg(not(windows))]
#[cfg(not(any(windows, target_os = "android")))]
fn test_hard_link_file() {
let (at, mut ucmd) = at_and_ucmd!();
at.touch("src");