diff --git a/codex-rs/exec-server/tests/suite/accept_elicitation.rs b/codex-rs/exec-server/tests/suite/accept_elicitation.rs index c82b97ab6a..95f14a3efa 100644 --- a/codex-rs/exec-server/tests/suite/accept_elicitation.rs +++ b/codex-rs/exec-server/tests/suite/accept_elicitation.rs @@ -219,9 +219,9 @@ fn ensure_codex_cli() -> Result { } async fn resolve_git_path(use_login_shell: bool) -> Result { - let bash_flag = if use_login_shell { "-lc" } else { "-c" }; - let git = Command::new("bash") - .arg(bash_flag) + let zsh_flag = if use_login_shell { "-lc" } else { "-c" }; + let git = Command::new("zsh") + .arg(zsh_flag) .arg("command -v git") .output() .await