Skip to content

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

test(skills_mcp_registry_live): use set_to_path for HOME env var

Steven Enamakel94606c82b5b3
diff --git a/tests/skills_mcp_registry_live.rs b/tests/skills_mcp_registry_live.rs
index 24a8b5a21d..8ddba32f87 100644
--- a/tests/skills_mcp_registry_live.rs
+++ b/tests/skills_mcp_registry_live.rs
@@ -61,7 +61,7 @@ impl Drop for LiveStack {
async fn live_stack() -> LiveStack {
let home = tempdir().expect("tempdir");
let guards = vec![
- EnvVarGuard::set("HOME", &home.path().to_string_lossy()),
+ EnvVarGuard::set_to_path("HOME", home.path()),
EnvVarGuard::set(CORE_TOKEN_ENV_VAR, TEST_RPC_TOKEN),
EnvVarGuard::set("OPENHUMAN_KEYRING_BACKEND", "file"),
];