wasi-testsuite icon indicating copy to clipboard operation
wasi-testsuite copied to clipboard

WASI Testsuite

Results 47 wasi-testsuite issues
Sort by recently updated
recently updated
newest added

It can be useful to override the config for certain tests. The main use case for this is to override environment variables which control test assertions (e.g. `NO_DANGLING_FILESYSTEM`, `ERRNO_MODE_WINDOWS`). When...

issue: https://github.com/WebAssembly/wasi-testsuite/issues/42 a few notes on this implementation: * the timeout is hardcoded to 3 seconds for now. we can add a configuration in per-test json files when necessary. *...

This commit adds a Rust test case that asserts an ambiguous `fstflags` input to `fd_filestat_set_times` should result in `inval` errno. An `fstflags` argument is ambiguous if: 1. both `atim` and...

Some of the tests are configurable and therefore support for some of the features might be "hidden" because the test will pass, even though the feature isn't supported (e.g. https://github.com/WebAssembly/wasi-testsuite/blob/main/tests/rust/src/config.rs#L16)....

With https://github.com/bytecodealliance/wasmtime/pull/6925, the Wasmtime CLI flags will change considerably. I suspect this will break the runner script so I am giving a heads up here. Those changes are now available...

it might make sense to provide a bit more consistent environment for tests. eg. create a tty for fd 0-2 a few possible places where it can be done: *...

@loganek recently added [a rust `close_preopen` test ](https://github.com/WebAssembly/wasi-testsuite/blob/main/tests/rust/src/bin/close_preopen.rs), which ensures user code can't close a.. pre-open. In some ways stdio are like pre-opens, as in wazero, we had exactly the...

_cleanup_test_output uses python glob with recursive=True to find files/directories to remove. it seems very dangerous as it follows symlinks. especially when we have a test which tries to create a...

The issue was raised in the comment: https://github.com/WebAssembly/wasi-testsuite/pull/74#discussion_r1189368447 If the list must not be empty, we should update related tests and spec documentation.

As pointed in [https://github.com/bytecodealliance/wasmtime/pull/6343#discussion_r1185541513, instead of c](https://github.com/WebAssembly/wasi-testsuite/pull/74/files#r1185549478), instead of expecting tests to suffix all temporary files with `.cleanup` we might create a temporary working directory and copy all the test-related...