Skip to content

Commit cb9896a

Browse files
committed
fix: remove bogus etc existence check in sandbox_escape_rejected test
Signed-off-by: devjow <me@devjow.com>
1 parent 64ecfd3 commit cb9896a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

gts-cli/tests/gen_instances_tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,6 @@ fn sandbox_escape_rejected() {
311311
msg.contains("Security error") || msg.contains("sandbox") || msg.contains("'..'"),
312312
"Got: {msg}"
313313
);
314-
// No directory should have been created outside sandbox
315-
assert!(!root.join("../../etc").exists());
316314
}
317315

318316
// ─────────────────────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)