From b390593ab6c1f4ffd8e543844a72407b0bcb7141 Mon Sep 17 00:00:00 2001 From: npub13n66s06epmqf2kc3v373ez8hj65cuzyvxzjf93vwpervxqn2u7jq2qd9je <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> Date: Mon, 3 Aug 2026 11:29:47 -0400 Subject: [PATCH] test(desktop): use portable readiness command Signed-off-by: npub13n66s06epmqf2kc3v373ez8hj65cuzyvxzjf93vwpervxqn2u7jq2qd9je <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> --- desktop/src-tauri/src/managed_agents/runtime_commands.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/desktop/src-tauri/src/managed_agents/runtime_commands.rs b/desktop/src-tauri/src/managed_agents/runtime_commands.rs index 05dfe735ab..a722219d5c 100644 --- a/desktop/src-tauri/src/managed_agents/runtime_commands.rs +++ b/desktop/src-tauri/src/managed_agents/runtime_commands.rs @@ -648,7 +648,11 @@ mod tests { #[test] fn readiness_is_evaluated_for_the_selected_instance_runtime() { let selected = record_with_command("buzz-agent"); - let unrelated_ready_runtime = record_with_command("/usr/bin/true"); + let unrelated_ready_command = std::env::current_exe() + .expect("current test executable must be available") + .to_string_lossy() + .into_owned(); + let unrelated_ready_runtime = record_with_command(&unrelated_ready_command); let global = super::super::GlobalAgentConfig::default(); assert!(matches!(