Disable hard link integration test on Android

Non-rooted Android typically doesn't have permission to use hard links
at all, so this test fails on Android.
This commit is contained in:
Skyler Hawthorne 2024-07-27 22:34:41 -04:00
parent 30fb63cc3d
commit face6a3268

View file

@ -650,6 +650,7 @@ async fn test_symlink_write_relative() -> anyhow::Result<()> {
} }
#[tokio::test(flavor = "multi_thread")] #[tokio::test(flavor = "multi_thread")]
#[cfg(not(target_os = "android"))]
async fn test_hardlink_write() -> anyhow::Result<()> { async fn test_hardlink_write() -> anyhow::Result<()> {
let dir = tempfile::tempdir()?; let dir = tempfile::tempdir()?;