From 402bc07f81ed2a46094e733b7fca96eaea0216b2 Mon Sep 17 00:00:00 2001 From: viyatb-oai Date: Sat, 9 May 2026 20:33:17 +0000 Subject: [PATCH] test(windows-sandbox): log deny fixture visibility Co-authored-by: Codex --- codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs b/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs index ea276c0db9..86e84fb0b8 100644 --- a/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs +++ b/codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs @@ -229,7 +229,13 @@ fn legacy_non_tty_cmd_honors_deny_read_overrides() { vec![ "C:\\Windows\\System32\\cmd.exe".to_string(), "/c".to_string(), - format!("type \"{public_rel}\" 2>&1"), + format!( + "cd & dir & dir \"{}\" & type \"{public_rel}\" 2>&1", + fixture_dir + .file_name() + .expect("fixture name") + .to_string_lossy(), + ), ], cwd.as_path(), HashMap::new(),