You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming that the Wasm app was given necessary capabilities (in this case, access to /dev/ dir), ensure that it is possible to properly open misc devices such as:
Fixesbytecodealliance#514, but CI is grumpy and I have questions.
Both the sync and async variants run by `cargo test -p wasi-common preview1_device_read` work and are valid.
However, `foreach_preview1!(assert_test_exists)` fails its assertions when I run `ci/run-tests.sh` unless I repeat my tests in `wasi` (commented out here) as well as `wasi-common`. Is that the intent? I'm not sure what value such repetition has for this test. Perhaps I'm adding tests in the wrong place altogether. I welcome any illumination!
Note that I've hard-coded a "/dev" preopen into the test harnesses temporarily. Once I'm sure I'm adding to the right set of tests, I'll refactor to pass it only for this new one.
Fixesbytecodealliance#514, but CI is grumpy and I have questions.
Both the sync and async variants run by `cargo test -p wasi-common preview1_device_read` work and are valid.
However, `foreach_preview1!(assert_test_exists)` fails its assertions when I run `ci/run-tests.sh` unless I repeat my tests in `wasi` (commented out here) as well as `wasi-common`. Is that the intent? I'm not sure what value such repetition has for this test. Perhaps I'm adding tests in the wrong place altogether. I welcome any illumination!
Note that I've hard-coded a "/dev" preopen into the test harnesses temporarily. Once I'm sure I'm adding to the right set of tests, I'll refactor to pass it only for this new one.
Assuming that the Wasm app was given necessary capabilities (in this case, access to
/dev/
dir), ensure that it is possible to properly open misc devices such as:/dev/random
/dev/urandom
/dev/zero
/dev/null
Relevant PRs that spotted and/or fixed the bug:
The text was updated successfully, but these errors were encountered: