Fix missing .codex Linux bwrap startup

Co-authored-by: Codex noreply@op
This commit is contained in:
viyatb-oai
2026-04-06 12:27:54 -07:00
co-authored by Codex noreply@op
parent 46b7e4fb2c
commit 709b9c075f
5 changed files with 225 additions and 54 deletions
+1 -6
View File
@@ -313,15 +313,10 @@ async fn sandbox_distinguishes_command_and_policy_cwds() {
assert!(allowed_exists, "allowed path should exist");
}
#[cfg(target_os = "macos")]
#[tokio::test]
async fn sandbox_blocks_first_time_dot_codex_creation() {
core_test_support::skip_if_sandbox!();
#[cfg(target_os = "linux")]
let sandbox_env = match linux_sandbox_test_env().await {
Some(env) => env,
None => return,
};
#[cfg(not(target_os = "linux"))]
let sandbox_env = HashMap::new();
let temp = tempfile::tempdir().expect("should be able to create temp dir");