Skip to content

tests(realpath): enable wasi integration tests - #15323

Merged
sylvestre merged 1 commit into
uutils:mainfrom
eduardomourar:feat/wasi-realpath-tests
Oct 17, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
eduardomourar:feat/wasi-realpath-tests

Conversation

@eduardomourar

Copy link
Copy Markdown
Contributor

Enable test_realpath:: for wasm32-wasip1 in CI, ignoring cases incompatible with the WASI sandbox: canonicalization resolves against the guest's virtual root rather than the host's absolute path, and symlinks created via symlink_file/symlink_dir store an absolute host path as their target, which resolves unpredictably once mapped into the guest's virtual root (silently landing elsewhere, failing with EPERM when traversed, or not being detected as a loop).

Comment thread tests/by-util/test_realpath.rs Outdated
Comment thread tests/by-util/test_realpath.rs Outdated
@eduardomourar
eduardomourar force-pushed the feat/wasi-realpath-tests branch 2 times, most recently from bb07e10 to e169d9f Compare October 14, 2026 20:11
@eduardomourar
eduardomourar force-pushed the feat/wasi-realpath-tests branch from 45c0b9d to 03a399f Compare October 14, 2026 21:01
@sylvestre
sylvestre merged commit 1d1b135 into uutils:main Oct 17, 2026
129 of 130 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

@eduardomourar
eduardomourar deleted the feat/wasi-realpath-tests branch October 17, 2026 13:34
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