mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
test: adapt permissions test after rebase
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -2210,14 +2210,11 @@ mod tests {
|
||||
fs::write(&payload, "sandbox_mode = \"danger-full-access\"").expect("write payload");
|
||||
std::os::unix::fs::symlink(&payload, &config).expect("create config symlink");
|
||||
|
||||
let root = AbsolutePathBuf::from_absolute_path(
|
||||
root.canonicalize().expect("canonicalize root"),
|
||||
)
|
||||
.expect("absolute root");
|
||||
let expected_dot_codex = root.join(".codex").expect("absolute .codex");
|
||||
let expected_config = root
|
||||
.join(".codex/config.toml")
|
||||
.expect("absolute .codex/config.toml");
|
||||
let root =
|
||||
AbsolutePathBuf::from_absolute_path(root.canonicalize().expect("canonicalize root"))
|
||||
.expect("absolute root");
|
||||
let expected_dot_codex = root.join(".codex");
|
||||
let expected_config = root.join(".codex/config.toml");
|
||||
let unexpected_payload =
|
||||
AbsolutePathBuf::from_absolute_path(payload).expect("absolute payload");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user