Skip to content

test(cram): cover separation from runner temporary files - #16954

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-runlzooxlpul
Nov 8, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-runlzooxlpul

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Record the current separation between Cram's internal temporary files and the directory exposed to tests as TMPDIR. Writing main.sh, 1.output, and cram.metadata inside TMPDIR must not corrupt the runner's scripts, captured output, or metadata.

Cover sh, Bash, and directory tests. Preserve the existing demonstration that different Cram tests currently share TMPDIR.

This is test-only preparatory coverage for #16930 and passes without the isolation fix.

Record that Cram scripts can reuse the runner’s filenames inside TMPDIR
without corrupting its scripts, captured output, or metadata. Exercise sh,
Bash, and directory tests while preserving the existing shared-TMPDIR
failure demonstration.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit b8e0eee into ocaml:main Nov 8, 2026
35 of 37 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants