mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:25:04 +00:00
Move shell snapshot tests into shell-command (#39480)
## What changed - Co-locate the Bash and zsh snapshot-script tests with `codex-shell-command`, where `snapshot_script` is implemented. - Add `tempfile` as a dev dependency for the relocated tests. - Keep the higher-level snapshot lifecycle tests in `codex-core`. GitOrigin-RevId: 6d5e9ab95962722f7c89ea40512bd70ee81d8da2
This commit is contained in:
1 parent
e741cd9ace
commit
d1d51f6315
5 files changed
+168
-159
No files matched your search
@@ -1,5 +1,9 @@
|
||||
use crate::shell_detect::ShellType;
|
||||
|
||||
#[cfg(all(test, unix))]
|
||||
#[path = "shell_snapshot_tests.rs"]
|
||||
mod tests;
|
||||
|
||||
const EXCLUDED_EXPORT_VARS: &[&str] = &["PWD", "OLDPWD"];
|
||||
|
||||
/// Returns the shell-native script used to capture restorable shell state.
|
||||
|
||||
Reference in new issue
Block a user