A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Flag most wasi-testsuite tests as expected to pass (#13602)
Alex Crichtonc76afd6c534f
diff --git a/tests/wasi-testsuite b/tests/wasi-testsuiteindex 9c3b02f643..a7044cced9 160000--- a/tests/wasi-testsuite+++ b/tests/wasi-testsuite@@ -1 +1 @@-Subproject commit 9c3b02f643c06deb15e29a224e2a6fc3a3e1c3d6+Subproject commit a7044cced9990dea7613bb8d770f0cda99f2a353diff --git a/tests/wasi.rs b/tests/wasi.rsindex ad00c6fbcc..0f12c74b2f 100644--- a/tests/wasi.rs+++ b/tests/wasi.rs@@ -19,99 +19,10 @@ use wasmtime::{Result, ToWasmtimeResult as _, format_err};use wit_component::ComponentEncoder;const KNOWN_FAILURES: &[&str] = &[- // FIXME(#11524)- "remove_directory_trailing_slashes",- // FIXME(#12568)- "sockets-udp-send",- #[cfg(target_vendor = "apple")]- "filesystem-advise",- // FIXME(WebAssembly/wasi-testsuite#128)- #[cfg(windows)]- "fd_fdstat_set_rights",- #[cfg(windows)]- "filesystem-flags-and-type",- #[cfg(windows)]- "path_link",- #[cfg(windows)]- "dangling_fd",- #[cfg(windows)]- "dangling_symlink",- #[cfg(windows)]- "file_allocate",- #[cfg(windows)]- "file_pread_pwrite",- #[cfg(windows)]- "file_seek_tell",- #[cfg(windows)]- "file_truncation",- #[cfg(windows)]- "file_unbuffered_write",- #[cfg(windows)]- "interesting_paths",- #[cfg(windows)]- "isatty",- #[cfg(windows)]- "fd_readdir",- #[cfg(windows)]- "nofollow_errors",- #[cfg(windows)]- "overwrite_preopen",- #[cfg(windows)]- "path_exists",- #[cfg(windows)]- "path_filestat",- #[cfg(windows)]- "path_open_create_existing",- #[cfg(windows)]- "path_open_dirfd_not_dir",- #[cfg(windows)]- "path_open_missing",- #[cfg(windows)]- "path_open_read_write",- #[cfg(windows)]- "path_rename",- #[cfg(windows)]- "path_rename_dir_trailing_slashes",- #[cfg(windows)]- "path_symlink_trailing_slashes",- #[cfg(windows)]- "readlink",- #[cfg(windows)]- "remove_nonempty_directory",#[cfg(windows)]"renumber",#[cfg(windows)]- "symlink_create",- #[cfg(windows)]"stdio",- #[cfg(windows)]- "symlink_filestat",- #[cfg(windows)]- "truncation_rights",- #[cfg(windows)]- "symlink_loop",- #[cfg(windows)]- "unlink_file_trailing_slashes",- #[cfg(windows)]- "filesystem-unlink-errors",- #[cfg(windows)]- "filesystem-stat",- #[cfg(windows)]- "filesystem-set-size",- #[cfg(windows)]- "filesystem-rename",- #[cfg(windows)]- "filesystem-read-directory",- #[cfg(windows)]- "filesystem-open-errors",- #[cfg(windows)]- "filesystem-mkdir-rmdir",- #[cfg(windows)]- "filesystem-metadata-hash",- #[cfg(windows)]- "filesystem-hard-links",- #[cfg(windows)]- "filesystem-io",];fn main() -> Result<()> {