├── .github ├── actions │ └── git-config │ │ └── action.yml └── workflows │ ├── compile-tests.yml │ ├── daily-runtime-validation.yml │ ├── daily-test-update.yml │ ├── markdown-linter.yml │ └── test-runner.yml ├── .gitignore ├── LICENSE ├── README.md ├── adapters ├── pywasm.py ├── wasm-micro-runtime.py ├── wasmedge.py ├── wasmtime.py ├── wazero.py └── wizard.py ├── doc ├── adapters.md ├── precompiled-binaries.md ├── specification.md └── writing-tests.md ├── examples └── skip.json ├── run-tests ├── scripts └── update-proposal-tests.sh ├── test-runner ├── .coveragerc ├── .flake8 ├── .gitignore ├── .pylintrc ├── mypy.ini ├── requirements.txt ├── requirements │ ├── common.txt │ ├── dev.txt │ └── prod.txt ├── tests │ ├── __init__.py │ ├── test_test_case.py │ ├── test_test_suite.py │ ├── test_test_suite_runner.py │ └── test_validators.py ├── wasi_test_runner.py └── wasi_test_runner │ ├── __init__.py │ ├── __main__.py │ ├── filters.py │ ├── harness.py │ ├── reporters │ ├── __init__.py │ ├── console.py │ └── json.py │ ├── runtime_adapter.py │ ├── test_case.py │ ├── test_suite.py │ ├── test_suite_runner.py │ └── validators.py ├── tests ├── assemblyscript │ ├── build.py │ └── wasm32-wasip1 │ │ ├── .eslintrc │ │ ├── .gitignore │ │ ├── .prettierrc │ │ ├── asconfig.json │ │ ├── buildscripts │ │ ├── build.ts │ │ └── utility.ts │ │ ├── package-lock.json │ │ ├── package.json │ │ └── src │ │ ├── args_get-multiple-arguments.json │ │ ├── args_get-multiple-arguments.ts │ │ ├── args_sizes_get-multiple-arguments.json │ │ ├── args_sizes_get-multiple-arguments.ts │ │ ├── args_sizes_get-no-arguments.ts │ │ ├── environ_get-multiple-variables.json │ │ ├── environ_get-multiple-variables.ts │ │ ├── environ_sizes_get-multiple-variables.json │ │ ├── environ_sizes_get-multiple-variables.ts │ │ ├── environ_sizes_get-no-variables.ts │ │ ├── fd_write-to-invalid-fd.ts │ │ ├── fd_write-to-stdout.json │ │ ├── fd_write-to-stdout.ts │ │ ├── proc_exit-failure.json │ │ ├── proc_exit-failure.ts │ │ ├── proc_exit-success.ts │ │ ├── random_get-non-zero-length.ts │ │ └── random_get-zero-length.ts ├── c │ ├── .clang-format │ ├── build.py │ └── src │ │ ├── clock_getres-monotonic.c │ │ ├── clock_getres-realtime.c │ │ ├── clock_gettime-monotonic.c │ │ ├── clock_gettime-realtime.c │ │ ├── fdopendir-with-access.c │ │ ├── fdopendir-with-access.json │ │ ├── fopen-with-access.c │ │ ├── fopen-with-access.json │ │ ├── fopen-with-no-access.c │ │ ├── fs-tests.dir │ │ ├── file │ │ ├── fopendir.dir │ │ │ ├── file-0 │ │ │ └── file-1 │ │ ├── lseek.txt │ │ ├── pread.txt │ │ └── writeable │ │ │ └── .gitignore │ │ ├── lseek.c │ │ ├── lseek.json │ │ ├── pread-with-access.c │ │ ├── pread-with-access.json │ │ ├── pwrite-with-access.c │ │ ├── pwrite-with-access.json │ │ ├── pwrite-with-append.c │ │ ├── pwrite-with-append.json │ │ ├── sock_shutdown-invalid_fd.c │ │ ├── sock_shutdown-not_sock.c │ │ ├── stat-dev-ino.c │ │ └── stat-dev-ino.json └── rust │ ├── build.py │ ├── wasm32-wasip1 │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ ├── bin │ │ ├── big_random_buf.rs │ │ ├── clock_time_get.rs │ │ ├── close_preopen.json │ │ ├── close_preopen.rs │ │ ├── dangling_fd.json │ │ ├── dangling_fd.rs │ │ ├── dangling_symlink.json │ │ ├── dangling_symlink.rs │ │ ├── dir_fd_op_failures.json │ │ ├── dir_fd_op_failures.rs │ │ ├── directory_seek.json │ │ ├── directory_seek.rs │ │ ├── fd_advise.json │ │ ├── fd_advise.rs │ │ ├── fd_fdstat_set_rights.json │ │ ├── fd_fdstat_set_rights.rs │ │ ├── fd_filestat_set.json │ │ ├── fd_filestat_set.rs │ │ ├── fd_flags_set.json │ │ ├── fd_flags_set.rs │ │ ├── fd_readdir.json │ │ ├── fd_readdir.rs │ │ ├── file_allocate.json │ │ ├── file_allocate.rs │ │ ├── file_pread_pwrite.json │ │ ├── file_pread_pwrite.rs │ │ ├── file_seek_tell.json │ │ ├── file_seek_tell.rs │ │ ├── file_truncation.json │ │ ├── file_truncation.rs │ │ ├── file_unbuffered_write.json │ │ ├── file_unbuffered_write.rs │ │ ├── fs-tests.dir │ │ │ └── .keep │ │ ├── fstflags_validate.json │ │ ├── fstflags_validate.rs │ │ ├── interesting_paths.json │ │ ├── interesting_paths.rs │ │ ├── isatty.json │ │ ├── isatty.rs │ │ ├── manifest.json │ │ ├── nofollow_errors.json │ │ ├── nofollow_errors.rs │ │ ├── overwrite_preopen.json │ │ ├── overwrite_preopen.rs │ │ ├── path_exists.json │ │ ├── path_exists.rs │ │ ├── path_filestat.json │ │ ├── path_filestat.rs │ │ ├── path_link.json │ │ ├── path_link.rs │ │ ├── path_open_create_existing.json │ │ ├── path_open_create_existing.rs │ │ ├── path_open_dirfd_not_dir.json │ │ ├── path_open_dirfd_not_dir.rs │ │ ├── path_open_missing.json │ │ ├── path_open_missing.rs │ │ ├── path_open_nonblock.json │ │ ├── path_open_nonblock.rs │ │ ├── path_open_preopen.json │ │ ├── path_open_preopen.rs │ │ ├── path_open_read_write.json │ │ ├── path_open_read_write.rs │ │ ├── path_rename.json │ │ ├── path_rename.rs │ │ ├── path_rename_dir_trailing_slashes.json │ │ ├── path_rename_dir_trailing_slashes.rs │ │ ├── path_symlink_trailing_slashes.json │ │ ├── path_symlink_trailing_slashes.rs │ │ ├── poll_oneoff_stdio.rs │ │ ├── readlink.json │ │ ├── readlink.rs │ │ ├── remove_directory_trailing_slashes.json │ │ ├── remove_directory_trailing_slashes.rs │ │ ├── remove_nonempty_directory.json │ │ ├── remove_nonempty_directory.rs │ │ ├── renumber.json │ │ ├── renumber.rs │ │ ├── sched_yield.rs │ │ ├── stdio.json │ │ ├── stdio.rs │ │ ├── symlink_create.json │ │ ├── symlink_create.rs │ │ ├── symlink_filestat.json │ │ ├── symlink_filestat.rs │ │ ├── symlink_loop.json │ │ ├── symlink_loop.rs │ │ ├── truncation_rights.json │ │ ├── truncation_rights.rs │ │ ├── unlink_file_trailing_slashes.json │ │ └── unlink_file_trailing_slashes.rs │ │ ├── config.rs │ │ └── lib.rs │ └── wasm32-wasip3 │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ ├── src │ └── bin │ │ ├── filesystem-advise.json │ │ ├── filesystem-advise.rs │ │ ├── filesystem-flags-and-type.json │ │ ├── filesystem-flags-and-type.rs │ │ ├── filesystem-hard-links.json │ │ ├── filesystem-hard-links.rs │ │ ├── filesystem-read-directory.json │ │ ├── filesystem-read-directory.rs │ │ ├── filesystem-set-size.json │ │ ├── filesystem-set-size.rs │ │ ├── fs-tests.dir │ │ ├── a.txt │ │ ├── b.txt │ │ └── parent │ │ ├── http-response.rs │ │ ├── monotonic-clock.rs │ │ ├── multi-clock-wait.rs │ │ └── wall-clock.rs │ ├── wit │ ├── deps │ │ ├── wasi-cli-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ │ ├── wasi-clocks-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ │ ├── wasi-filesystem-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ │ ├── wasi-http-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ │ ├── wasi-random-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ │ └── wasi-sockets-0.3.0-rc-2025-09-16 │ │ │ └── package.wit │ └── wasi.wit │ └── wkg.lock └── tools └── run-pywasm /.github/actions/git-config/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/actions/git-config/action.yml -------------------------------------------------------------------------------- /.github/workflows/compile-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/workflows/compile-tests.yml -------------------------------------------------------------------------------- /.github/workflows/daily-runtime-validation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/workflows/daily-runtime-validation.yml -------------------------------------------------------------------------------- /.github/workflows/daily-test-update.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/workflows/daily-test-update.yml -------------------------------------------------------------------------------- /.github/workflows/markdown-linter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/workflows/markdown-linter.yml -------------------------------------------------------------------------------- /.github/workflows/test-runner.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.github/workflows/test-runner.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/README.md -------------------------------------------------------------------------------- /adapters/pywasm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/pywasm.py -------------------------------------------------------------------------------- /adapters/wasm-micro-runtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/wasm-micro-runtime.py -------------------------------------------------------------------------------- /adapters/wasmedge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/wasmedge.py -------------------------------------------------------------------------------- /adapters/wasmtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/wasmtime.py -------------------------------------------------------------------------------- /adapters/wazero.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/wazero.py -------------------------------------------------------------------------------- /adapters/wizard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/adapters/wizard.py -------------------------------------------------------------------------------- /doc/adapters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/doc/adapters.md -------------------------------------------------------------------------------- /doc/precompiled-binaries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/doc/precompiled-binaries.md -------------------------------------------------------------------------------- /doc/specification.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/doc/specification.md -------------------------------------------------------------------------------- /doc/writing-tests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/doc/writing-tests.md -------------------------------------------------------------------------------- /examples/skip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/examples/skip.json -------------------------------------------------------------------------------- /run-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/run-tests -------------------------------------------------------------------------------- /scripts/update-proposal-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/scripts/update-proposal-tests.sh -------------------------------------------------------------------------------- /test-runner/.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/.coveragerc -------------------------------------------------------------------------------- /test-runner/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 -------------------------------------------------------------------------------- /test-runner/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | .coverage -------------------------------------------------------------------------------- /test-runner/.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/.pylintrc -------------------------------------------------------------------------------- /test-runner/mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/mypy.ini -------------------------------------------------------------------------------- /test-runner/requirements.txt: -------------------------------------------------------------------------------- 1 | -r requirements/prod.txt -------------------------------------------------------------------------------- /test-runner/requirements/common.txt: -------------------------------------------------------------------------------- 1 | colorama>=0.4.3 2 | -------------------------------------------------------------------------------- /test-runner/requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/requirements/dev.txt -------------------------------------------------------------------------------- /test-runner/requirements/prod.txt: -------------------------------------------------------------------------------- 1 | -r common.txt -------------------------------------------------------------------------------- /test-runner/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-runner/tests/test_test_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/tests/test_test_case.py -------------------------------------------------------------------------------- /test-runner/tests/test_test_suite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/tests/test_test_suite.py -------------------------------------------------------------------------------- /test-runner/tests/test_test_suite_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/tests/test_test_suite_runner.py -------------------------------------------------------------------------------- /test-runner/tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/tests/test_validators.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/__main__.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/filters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/filters.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/harness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/harness.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/reporters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/reporters/__init__.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/reporters/console.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/reporters/console.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/reporters/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/reporters/json.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/runtime_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/runtime_adapter.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/test_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/test_case.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/test_suite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/test_suite.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/test_suite_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/test_suite_runner.py -------------------------------------------------------------------------------- /test-runner/wasi_test_runner/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/test-runner/wasi_test_runner/validators.py -------------------------------------------------------------------------------- /tests/assemblyscript/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/build.py -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/.eslintrc -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/.prettierrc -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/asconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./node_modules/@assemblyscript/wasi-shim/asconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/buildscripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/buildscripts/build.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/buildscripts/utility.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/buildscripts/utility.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/package-lock.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/package.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/args_get-multiple-arguments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/args_get-multiple-arguments.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/args_get-multiple-arguments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/args_get-multiple-arguments.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-multiple-arguments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-multiple-arguments.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-multiple-arguments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-multiple-arguments.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-no-arguments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/args_sizes_get-no-arguments.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/environ_get-multiple-variables.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/environ_get-multiple-variables.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/environ_get-multiple-variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/environ_get-multiple-variables.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-multiple-variables.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-multiple-variables.json -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-multiple-variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-multiple-variables.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-no-variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/environ_sizes_get-no-variables.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/fd_write-to-invalid-fd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/fd_write-to-invalid-fd.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/fd_write-to-stdout.json: -------------------------------------------------------------------------------- 1 | { 2 | "stdout": "hello" 3 | } -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/fd_write-to-stdout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/fd_write-to-stdout.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/proc_exit-failure.json: -------------------------------------------------------------------------------- 1 | { 2 | "exit_code": 33 3 | } 4 | -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/proc_exit-failure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/proc_exit-failure.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/proc_exit-success.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/proc_exit-success.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/random_get-non-zero-length.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/random_get-non-zero-length.ts -------------------------------------------------------------------------------- /tests/assemblyscript/wasm32-wasip1/src/random_get-zero-length.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/assemblyscript/wasm32-wasip1/src/random_get-zero-length.ts -------------------------------------------------------------------------------- /tests/c/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/.clang-format -------------------------------------------------------------------------------- /tests/c/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/build.py -------------------------------------------------------------------------------- /tests/c/src/clock_getres-monotonic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/clock_getres-monotonic.c -------------------------------------------------------------------------------- /tests/c/src/clock_getres-realtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/clock_getres-realtime.c -------------------------------------------------------------------------------- /tests/c/src/clock_gettime-monotonic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/clock_gettime-monotonic.c -------------------------------------------------------------------------------- /tests/c/src/clock_gettime-realtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/clock_gettime-realtime.c -------------------------------------------------------------------------------- /tests/c/src/fdopendir-with-access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/fdopendir-with-access.c -------------------------------------------------------------------------------- /tests/c/src/fdopendir-with-access.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/fdopendir-with-access.json -------------------------------------------------------------------------------- /tests/c/src/fopen-with-access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/fopen-with-access.c -------------------------------------------------------------------------------- /tests/c/src/fopen-with-access.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/fopen-with-access.json -------------------------------------------------------------------------------- /tests/c/src/fopen-with-no-access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/fopen-with-no-access.c -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/file: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/fopendir.dir/file-0: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/fopendir.dir/file-1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/lseek.txt: -------------------------------------------------------------------------------- 1 | 01234567 -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/pread.txt: -------------------------------------------------------------------------------- 1 | pread-test -------------------------------------------------------------------------------- /tests/c/src/fs-tests.dir/writeable/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/c/src/lseek.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/lseek.c -------------------------------------------------------------------------------- /tests/c/src/lseek.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/lseek.json -------------------------------------------------------------------------------- /tests/c/src/pread-with-access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pread-with-access.c -------------------------------------------------------------------------------- /tests/c/src/pread-with-access.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pread-with-access.json -------------------------------------------------------------------------------- /tests/c/src/pwrite-with-access.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pwrite-with-access.c -------------------------------------------------------------------------------- /tests/c/src/pwrite-with-access.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pwrite-with-access.json -------------------------------------------------------------------------------- /tests/c/src/pwrite-with-append.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pwrite-with-append.c -------------------------------------------------------------------------------- /tests/c/src/pwrite-with-append.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/pwrite-with-append.json -------------------------------------------------------------------------------- /tests/c/src/sock_shutdown-invalid_fd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/sock_shutdown-invalid_fd.c -------------------------------------------------------------------------------- /tests/c/src/sock_shutdown-not_sock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/sock_shutdown-not_sock.c -------------------------------------------------------------------------------- /tests/c/src/stat-dev-ino.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/stat-dev-ino.c -------------------------------------------------------------------------------- /tests/c/src/stat-dev-ino.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/c/src/stat-dev-ino.json -------------------------------------------------------------------------------- /tests/rust/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/build.py -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/.gitignore: -------------------------------------------------------------------------------- 1 | target/ -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/Cargo.lock -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/Cargo.toml -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/big_random_buf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/big_random_buf.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/clock_time_get.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/clock_time_get.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/close_preopen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/close_preopen.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/close_preopen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/close_preopen.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dangling_fd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dangling_fd.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dangling_fd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dangling_fd.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dangling_symlink.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dangling_symlink.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dangling_symlink.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dangling_symlink.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dir_fd_op_failures.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dir_fd_op_failures.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/dir_fd_op_failures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/dir_fd_op_failures.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/directory_seek.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/directory_seek.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/directory_seek.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/directory_seek.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_advise.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_advise.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_advise.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_advise.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_fdstat_set_rights.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_fdstat_set_rights.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_fdstat_set_rights.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_fdstat_set_rights.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_filestat_set.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_filestat_set.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_filestat_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_filestat_set.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_flags_set.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_flags_set.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_flags_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_flags_set.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_readdir.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_readdir.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fd_readdir.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_allocate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_allocate.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_allocate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_allocate.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_pread_pwrite.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_pread_pwrite.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_pread_pwrite.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_pread_pwrite.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_seek_tell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_seek_tell.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_seek_tell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_seek_tell.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_truncation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_truncation.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_truncation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_truncation.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_unbuffered_write.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_unbuffered_write.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/file_unbuffered_write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/file_unbuffered_write.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fs-tests.dir/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fstflags_validate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fstflags_validate.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/fstflags_validate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/fstflags_validate.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/interesting_paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/interesting_paths.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/interesting_paths.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/interesting_paths.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/isatty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/isatty.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/isatty.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/isatty.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WASI Rust tests" 3 | } -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/nofollow_errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/nofollow_errors.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/nofollow_errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/nofollow_errors.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/overwrite_preopen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/overwrite_preopen.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/overwrite_preopen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/overwrite_preopen.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_exists.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_exists.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_exists.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_exists.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_filestat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_filestat.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_filestat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_filestat.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_link.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_link.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_link.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_link.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_create_existing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_create_existing.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_create_existing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_create_existing.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_dirfd_not_dir.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_dirfd_not_dir.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_dirfd_not_dir.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_dirfd_not_dir.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_missing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_missing.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_missing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_missing.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_nonblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_nonblock.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_nonblock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_nonblock.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_preopen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_preopen.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_preopen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_preopen.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_read_write.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_read_write.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_open_read_write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_open_read_write.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_rename.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_rename.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_rename.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_rename.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_rename_dir_trailing_slashes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_rename_dir_trailing_slashes.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_rename_dir_trailing_slashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_rename_dir_trailing_slashes.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_symlink_trailing_slashes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_symlink_trailing_slashes.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/path_symlink_trailing_slashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/path_symlink_trailing_slashes.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/poll_oneoff_stdio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/poll_oneoff_stdio.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/readlink.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/readlink.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/readlink.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/readlink.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/remove_directory_trailing_slashes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/remove_directory_trailing_slashes.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/remove_directory_trailing_slashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/remove_directory_trailing_slashes.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/remove_nonempty_directory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/remove_nonempty_directory.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/remove_nonempty_directory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/remove_nonempty_directory.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/renumber.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/renumber.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/renumber.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/renumber.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/sched_yield.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/sched_yield.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/stdio.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/stdio.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/stdio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/stdio.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_create.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_create.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_create.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_filestat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_filestat.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_filestat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_filestat.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_loop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_loop.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/symlink_loop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/symlink_loop.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/truncation_rights.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/truncation_rights.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/truncation_rights.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/truncation_rights.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/unlink_file_trailing_slashes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/unlink_file_trailing_slashes.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/bin/unlink_file_trailing_slashes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/bin/unlink_file_trailing_slashes.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/config.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip1/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip1/src/lib.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/Cargo.lock -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/Cargo.toml -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-advise.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-advise.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-advise.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-advise.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-flags-and-type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-flags-and-type.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-flags-and-type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-flags-and-type.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-hard-links.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-hard-links.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-hard-links.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-hard-links.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-read-directory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-read-directory.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-read-directory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-read-directory.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-set-size.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-set-size.json -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/filesystem-set-size.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/filesystem-set-size.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/fs-tests.dir/a.txt: -------------------------------------------------------------------------------- 1 | test-a 2 | -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/fs-tests.dir/b.txt: -------------------------------------------------------------------------------- 1 | test-b 2 | -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/fs-tests.dir/parent: -------------------------------------------------------------------------------- 1 | .. -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/http-response.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/http-response.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/monotonic-clock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/monotonic-clock.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/multi-clock-wait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/multi-clock-wait.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/src/bin/wall-clock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/src/bin/wall-clock.rs -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-cli-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-cli-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-clocks-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-clocks-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-filesystem-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-filesystem-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-http-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-http-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-random-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-random-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/deps/wasi-sockets-0.3.0-rc-2025-09-16/package.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/deps/wasi-sockets-0.3.0-rc-2025-09-16/package.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wit/wasi.wit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wit/wasi.wit -------------------------------------------------------------------------------- /tests/rust/wasm32-wasip3/wkg.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tests/rust/wasm32-wasip3/wkg.lock -------------------------------------------------------------------------------- /tools/run-pywasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebAssembly/wasi-testsuite/HEAD/tools/run-pywasm --------------------------------------------------------------------------------