mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
Fix shell wrapper temp file handling
This commit is contained in:
@@ -380,7 +380,8 @@ mod tests {
|
||||
|
||||
let rewritten = maybe_wrap_shell_lc_with_snapshot(&command, &session_shell, dir.path());
|
||||
|
||||
assert!(!rewritten[2].contains("/tmp/"));
|
||||
assert!(!rewritten[2].contains("codex-restore-env-"));
|
||||
assert!(!rewritten[2].contains("export -p >"));
|
||||
assert!(!rewritten[2].contains("rm -f \"$__codex_restore_env_file\""));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user