From face6a3268290a2b388a7d72ae520c2197a596bb Mon Sep 17 00:00:00 2001
From: Skyler Hawthorne <skyler@dead10ck.com>
Date: Sat, 27 Jul 2024 22:34:41 -0400
Subject: [PATCH] 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.
---
 helix-term/tests/test/commands/write.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/helix-term/tests/test/commands/write.rs b/helix-term/tests/test/commands/write.rs
index 01824f17..aba101e9 100644
--- a/helix-term/tests/test/commands/write.rs
+++ b/helix-term/tests/test/commands/write.rs
@@ -650,6 +650,7 @@ async fn test_symlink_write_relative() -> anyhow::Result<()> {
 }
 
 #[tokio::test(flavor = "multi_thread")]
+#[cfg(not(target_os = "android"))]
 async fn test_hardlink_write() -> anyhow::Result<()> {
     let dir = tempfile::tempdir()?;