Skip to content

test: keep test state inside sandboxes - #15874

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-vwrpxlvlqsvr
Aug 14, 2026
Merged

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

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Keep test-generated state within per-test writable directories so sandboxed test actions do not attempt to write to user XDG directories or global /tmp.

This configures the blackbox environment’s XDG base directories, points the dune-rpc-lwt test at its actual XDG_DATA_HOME registry location, and creates the external setup-script fixture under $TMPDIR.

Preparatory for #15858.

@rgrinberg
rgrinberg merged commit 0549131 into ocaml:main Aug 14, 2026
38 of 39 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants