The WASI link test attempts to create a link in the temporary directory to a file in the fixtures directory and can fail if those directories are on different devices. Update the test so that both the source and target of the link reside on the same device. PR-URL: https://github.com/nodejs/node/pull/39485 Fixes: https://github.com/nodejs/node/issues/39484 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| c | ||
| wasm | ||
| Makefile | ||
| README.md | ||
| test-return-on-exit.js | ||
| test-wasi-initialize-validation.js | ||
| test-wasi-not-started.js | ||
| test-wasi-options-validation.js | ||
| test-wasi-require-flag.js | ||
| test-wasi-start-validation.js | ||
| test-wasi-stdio.js | ||
| test-wasi-symlinks.js | ||
| test-wasi-worker-terminate.js | ||
| test-wasi.js | ||
| testcfg.py | ||
| wasi.status | ||
WASI Tests
Compile with clang and wasm32-wasi target. The clang version used must be
built with wasi-libc. You can specify the location for clang and the sysroot
if needed when running make:
$ make CC=/usr/local/opt/llvm/bin/clang SYSROOT=/path/to/wasi-libc/sysroot