Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): gate Unix-only symlink case

Steven Enamakel897fb43a3e77
diff --git a/crates/openhuman-core/src/agent/attachments/provider_history_tests.rs b/crates/openhuman-core/src/agent/attachments/provider_history_tests.rs
index 2a7a65e82f..922b3cf104 100644
--- a/crates/openhuman-core/src/agent/attachments/provider_history_tests.rs
+++ b/crates/openhuman-core/src/agent/attachments/provider_history_tests.rs
@@ -70,6 +70,7 @@ async fn missing_historical_media_does_not_block_latest_valid_media() {
.contains("data:image/png;base64,"));
}
+#[cfg(unix)]
#[tokio::test]
async fn secure_open_refuses_replaced_final_symlink() {
use std::os::unix::fs::symlink;