From 66e71fca5e3816bb7cef650cbf60ec14f672c0e2 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Mon, 6 Sep 2021 10:21:03 +0200 Subject: [PATCH 1/7] Added WASI test generator command. Added new dir path rename wasi testcase --- Cargo.lock | 46 +++++++++++++++++- Cargo.toml | 2 + Makefile | 4 ++ tests/wasi-wast/Cargo.toml | 2 +- tests/wasi-wast/src/wasi_version.rs | 2 +- tests/wasi-wast/src/wasitests.rs | 2 +- .../wasi/snapshot1/fd_rename_path.wasm | Bin 0 -> 63501 bytes .../wasi/snapshot1/fd_rename_path.wast | 7 +++ tests/wasi-wast/wasi/tests/fd_rename_path.rs | 11 +++++ 9 files changed, 71 insertions(+), 5 deletions(-) create mode 100755 tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm create mode 100644 tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast create mode 100644 tests/wasi-wast/wasi/tests/fd_rename_path.rs diff --git a/Cargo.lock b/Cargo.lock index df08919502a..f16024dd151 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -891,6 +891,26 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" +[[package]] +name = "gumdrop" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46571f5d540478cf70d2a42dd0d6d8e9f4b9cc7531544b93311e657b86568a0b" +dependencies = [ + "gumdrop_derive", +] + +[[package]] +name = "gumdrop_derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "915ef07c710d84733522461de2a734d4d62a3fd39a4d4f404c2f385ef8618d05" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "half" version = "1.7.1" @@ -2364,6 +2384,18 @@ version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +[[package]] +name = "wasi-test-generator" +version = "2.0.0" +dependencies = [ + "glob", + "gumdrop", + "serde", + "serde_json", + "tempfile", + "wast 24.0.0", +] + [[package]] name = "wasm-bindgen" version = "0.2.75" @@ -2926,7 +2958,7 @@ dependencies = [ "wasmer", "wasmer-vfs", "wasmer-wasi", - "wast", + "wast 37.0.0", ] [[package]] @@ -2948,6 +2980,7 @@ dependencies = [ "test-generator", "tracing", "tracing-subscriber", + "wasi-test-generator", "wasmer", "wasmer-cache", "wasmer-compiler", @@ -3003,6 +3036,15 @@ dependencies = [ "wasmparser 0.80.0", ] +[[package]] +name = "wast" +version = "24.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ff1e3bd3ad0b2ee7784add89c30dc96b89a54b43e5d6d95d774eda1863b3500" +dependencies = [ + "leb128", +] + [[package]] name = "wast" version = "37.0.0" @@ -3018,7 +3060,7 @@ version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ab2cc8d9a69d1ab28a41d9149bb06bb927aba8fc9d56625f8b597a564c83f50" dependencies = [ - "wast", + "wast 37.0.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index a19e0789477..44449c8945e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ wasmer-engine-dylib = { version = "2.0.0", path = "lib/engine-dylib", optional = wasmer-engine-staticlib = { version = "2.0.0", path = "lib/engine-staticlib", optional = true } wasmer-wasi = { version = "2.0.0", path = "lib/wasi", optional = true } wasmer-wast = { version = "2.0.0", path = "tests/lib/wast", optional = true } +wasi-test-generator = { version = "2.0.0", path = "tests/wasi-wast", optional = true } wasmer-cache = { version = "2.0.0", path = "lib/cache", optional = true } wasmer-types = { version = "2.0.0", path = "lib/types" } wasmer-middlewares = { version = "2.0.0", path = "lib/middlewares", optional = true } @@ -50,6 +51,7 @@ members = [ "lib/wasi-types", "lib/wasi-experimental-io-devices", "lib/types", + "tests/wasi-wast", "tests/lib/wast", "tests/lib/compiler-test-derive", "tests/integration/cli", diff --git a/Makefile b/Makefile index 9c0d92e5c28..36b61be76ee 100644 --- a/Makefile +++ b/Makefile @@ -573,6 +573,10 @@ test-integration: test-integration-ios: cargo test -p wasmer-integration-tests-ios +generate-wasi-tests: +# Uncomment the following for installing the toolchain +# cargo run -p wasi-test-generator -- -s + cargo run -p wasi-test-generator -- -g ##### # # Packaging. diff --git a/tests/wasi-wast/Cargo.toml b/tests/wasi-wast/Cargo.toml index 76ae5b76f53..bc8022faa02 100644 --- a/tests/wasi-wast/Cargo.toml +++ b/tests/wasi-wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi-test-generator" -version = "0.17.0" +version = "2.0.0" description = "Tests for our WASI implementation" license = "MIT" authors = ["Wasmer Engineering Team "] diff --git a/tests/wasi-wast/src/wasi_version.rs b/tests/wasi-wast/src/wasi_version.rs index 10abf6785e8..88dd4c61b20 100644 --- a/tests/wasi-wast/src/wasi_version.rs +++ b/tests/wasi-wast/src/wasi_version.rs @@ -16,7 +16,7 @@ impl WasiVersion { pub fn get_compiler_toolchain(&self) -> &'static str { match self { WasiVersion::Unstable => "nightly-2019-09-13", - WasiVersion::Snapshot1 => "nightly-2019-12-18", + WasiVersion::Snapshot1 => "1.53.0", } } diff --git a/tests/wasi-wast/src/wasitests.rs b/tests/wasi-wast/src/wasitests.rs index 72fa7ab0b81..39e8a426a74 100644 --- a/tests/wasi-wast/src/wasitests.rs +++ b/tests/wasi-wast/src/wasitests.rs @@ -147,7 +147,7 @@ fn compile_wasm_for_version( .create(true) .open(&temp_wasi_rs_file_name) .unwrap(); - actual_file.write_all(b"#![feature(wasi_ext)]\n").unwrap(); + // actual_file.write_all(b"#![feature(wasi_ext)]\n").unwrap(); actual_file.write_all(file_contents.as_bytes()).unwrap(); } diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm new file mode 100755 index 0000000000000000000000000000000000000000..e3396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(p=(nvWNyHgre!!|_r83cG;L{l) z3pk53;Y>8a+z%3_WtrF{B%3%?CcmPIDdY%DVs%6StO`h$RG@(@%BHG-_E!oz0G>fzqAP;&V|$XwOukUu zW1d{rG^!T!N0}7m0gX6FwoIIW;x-}3pinNUovPG~-(~p9?l+*=Vi8l9h>ts5{{zV< BY+(QZ literal 0 HcmV?d00001 diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast new file mode 100644 index 00000000000..97046bb5783 --- /dev/null +++ b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast @@ -0,0 +1,7 @@ +;; This file was generated by https://github.com/wasmerio/wasi-tests + +(wasi_test "fd_rename_path.wasm" + (preopens "test_fs") + (assert_return (i64.const 101)) + (assert_stderr "thread 'main' panicked at 'assertion failed: fs::rename(old_path, new_path).is_ok()', /Users/syrus/Development/wasmer/tests/wasi-wast/wasi/tests/fd_rename_path.rs:10:3\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n") +) diff --git a/tests/wasi-wast/wasi/tests/fd_rename_path.rs b/tests/wasi-wast/wasi/tests/fd_rename_path.rs new file mode 100644 index 00000000000..66e9c7b537f --- /dev/null +++ b/tests/wasi-wast/wasi/tests/fd_rename_path.rs @@ -0,0 +1,11 @@ +// WASI: +// dir: test_fs + +use std::fs; + +fn main() { + let old_path = "test_fs/oldname"; + let new_path = "test_fs/newname"; + + assert!(fs::rename(old_path, new_path).is_ok()); +} From c889c693e881ff422930db7aa1beccd9f7587866 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Mon, 6 Sep 2021 10:22:22 +0200 Subject: [PATCH 2/7] Added new test-wasi command --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 36b61be76ee..b9c8e9b90f3 100644 --- a/Makefile +++ b/Makefile @@ -564,6 +564,9 @@ test-capi-integration-%: test-wasi-unit: cargo test --manifest-path lib/wasi/Cargo.toml --release +test-wasi: + cargo test --release --tests $(compiler_features) -- wasi::wasitests::snapshot1 + test-examples: cargo test --release $(compiler_features) --features wasi --examples From 08580b533102adee694f4be7c2d0cd551891a690 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Mon, 6 Sep 2021 13:55:31 +0200 Subject: [PATCH 3/7] wip Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- lib/vfs/src/host_fs.rs | 9 + lib/vfs/src/lib.rs | 2 + lib/vfs/src/mem_fs/filesystem.rs | 4 + lib/wasi/src/state/mod.rs | 14 ++ lib/wasi/src/syscalls/mod.rs | 161 +++++++++++++----- .../wasi/test_fs/oldname/fakefile.txt | 0 tests/wasi-wast/wasi/tests/fd_rename_path.rs | 7 +- 7 files changed, 151 insertions(+), 46 deletions(-) create mode 100644 tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt diff --git a/lib/vfs/src/host_fs.rs b/lib/vfs/src/host_fs.rs index 19475768e51..75ba9585b0f 100644 --- a/lib/vfs/src/host_fs.rs +++ b/lib/vfs/src/host_fs.rs @@ -100,6 +100,15 @@ impl crate::FileSystem for FileSystem { fs::rename(from, to).map_err(Into::into) } + fn rename_dir(&self, from: &Path, to: &Path) -> Result<()> { + let metadata = self.metadata(from)?; + if metadata.is_dir() { + fs::rename(from, to).map_err(Into::into) + } else { + Err(FsError::BaseNotDirectory) + } + } + fn remove_file(&self, path: &Path) -> Result<()> { fs::remove_file(path).map_err(Into::into) } diff --git a/lib/vfs/src/lib.rs b/lib/vfs/src/lib.rs index d69f52e8c13..df2f8335dfb 100644 --- a/lib/vfs/src/lib.rs +++ b/lib/vfs/src/lib.rs @@ -27,6 +27,7 @@ pub trait FileSystem: fmt::Debug + Send + Sync + 'static { fn create_dir(&self, path: &Path) -> Result<()>; fn remove_dir(&self, path: &Path) -> Result<()>; fn rename(&self, from: &Path, to: &Path) -> Result<()>; + fn rename_dir(&self, from: &Path, to: &Path) -> Result<()>; fn metadata(&self, path: &Path) -> Result; /// This method gets metadata without following symlinks in the path. /// Currently identical to `metadata` because symlinks aren't implemented @@ -35,6 +36,7 @@ pub trait FileSystem: fmt::Debug + Send + Sync + 'static { self.metadata(path) } fn remove_file(&self, path: &Path) -> Result<()>; + fn new_open_options(&self) -> OpenOptions; } diff --git a/lib/vfs/src/mem_fs/filesystem.rs b/lib/vfs/src/mem_fs/filesystem.rs index d22bec69003..8564240171d 100644 --- a/lib/vfs/src/mem_fs/filesystem.rs +++ b/lib/vfs/src/mem_fs/filesystem.rs @@ -224,6 +224,10 @@ impl crate::FileSystem for FileSystem { Ok(()) } + fn rename_dir(&self, from: &Path, to: &Path) -> Result<()> { + unimplemented!("not already implemented for mem_fs") + } + fn metadata(&self, path: &Path) -> Result { // Read lock. let fs = self.inner.try_read().map_err(|_| FsError::Lock)?; diff --git a/lib/wasi/src/state/mod.rs b/lib/wasi/src/state/mod.rs index fa3fdf22376..f17641b30af 100644 --- a/lib/wasi/src/state/mod.rs +++ b/lib/wasi/src/state/mod.rs @@ -207,6 +207,9 @@ impl FileSystem for FallbackFileSystem { fn rename(&self, _from: &Path, _to: &Path) -> Result<(), FsError> { Self::fail(); } + fn rename_dir(&self, _from: &Path, _to: &Path) -> Result<(), FsError> { + Self::fail(); + } fn metadata(&self, _path: &Path) -> Result { Self::fail(); } @@ -1514,6 +1517,17 @@ impl WasiState { .map_err(fs_error_into_wasi_err) } + pub(crate) fn fs_rename_dir, Q: AsRef>( + &self, + from: P, + to: Q, + ) -> Result<(), __wasi_errno_t> { + self.fs + .fs_backing + .rename_dir(from.as_ref(), to.as_ref()) + .map_err(fs_error_into_wasi_err) + } + pub(crate) fn fs_remove_file>(&self, path: P) -> Result<(), __wasi_errno_t> { self.fs .fs_backing diff --git a/lib/wasi/src/syscalls/mod.rs b/lib/wasi/src/syscalls/mod.rs index ac6a546c0d7..6ce60132bec 100644 --- a/lib/wasi/src/syscalls/mod.rs +++ b/lib/wasi/src/syscalls/mod.rs @@ -2029,6 +2029,7 @@ pub fn path_rename( new_path: WasmPtr, new_path_len: u32, ) -> __wasi_errno_t { + println!("!!!!!!!"); debug!( "wasi::path_rename: old_fd = {}, new_fd = {}", old_fd, new_fd @@ -2040,6 +2041,7 @@ pub fn path_rename( let target_path = std::path::Path::new(&target_str); debug!("=> rename from {} to {}", &source_str, &target_str); + println!("check rights"); { let source_fd = wasi_try!(state.fs.get_fd(old_fd)); if !has_rights(source_fd.rights, __WASI_RIGHT_PATH_RENAME_SOURCE) { @@ -2053,6 +2055,7 @@ pub fn path_rename( let (source_parent_inode, source_entry_name) = wasi_try!(state.fs.get_parent_inode_at_path(old_fd, source_path, true)); + println!("rights checked --- {:?}", source_entry_name); let (target_parent_inode, target_entry_name) = wasi_try!(state.fs.get_parent_inode_at_path(new_fd, target_path, true)); @@ -2070,56 +2073,128 @@ pub fn path_rename( unreachable!("Fatal internal logic error: parent of inode is not a directory") } }; - let source_entry = match &mut state.fs.inodes[source_parent_inode].kind { - Kind::Dir { entries, .. } => wasi_try!(entries.remove(&source_entry_name), __WASI_EINVAL), - Kind::Root { .. } => return __WASI_ENOTCAPABLE, - Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { - unreachable!("Fatal internal logic error: parent of inode is not a directory") - } - }; + println!( + "host_adjusted_target_path = {:?}", + host_adjusted_target_path + ); + // let source_entry = + match &mut state.fs.inodes[source_parent_inode].kind { + Kind::Dir { entries, .. } => { + println!("it's a dir -- entries --- {:#?}", entries); + // if entries.contains_key(&source_entry_name).is_some() { + match entries.remove(&source_entry_name) { + Some(source_entry) => { + match &mut state.fs.inodes[source_entry].kind { + Kind::File { + handle, ref path, .. + } => { + // TODO: investigate why handle is not always there, it probably should be. + // My best guess is the fact that a handle means currently open and a path + // just means reference to host file on disk. But ideally those concepts + // could just be unified even if there's a `Box` which just + // implements the logic of "I'm not actually a file, I'll try to be as needed". + let result = if let Some(h) = handle { + state.fs_rename(&source_path, &host_adjusted_target_path) + } else { + let path_clone = path.clone(); + let out = state.fs_rename(&path_clone, &host_adjusted_target_path); + if let Kind::File { ref mut path, .. } = + &mut state.fs.inodes[source_entry].kind + { + *path = host_adjusted_target_path; + } else { + unreachable!() + } + out + }; + // if the above operation failed we have to revert the previous change and then fail + if let Err(e) = result { + if let Kind::Dir { entries, .. } = + &mut state.fs.inodes[source_parent_inode].kind + { + entries.insert(source_entry_name, source_entry); + return e; + } + } + } + Kind::Dir { ref path, .. } => { + // path seems to be sourcepath + println!("source_path {:?}", path); + println!("target_path {:?}", host_adjusted_target_path); + let cloned_path = path.clone(); + // wasi_try!( + state + .fs_rename_dir(cloned_path, &host_adjusted_target_path) + .expect("cannot rename the directory"); + // __WASI_EINVAL + // ); + // if let Err(e) = out { + // // Will see + // println!("ERROR {}", e); + // } + unreachable!() + } + Kind::Buffer { .. } => {} + Kind::Symlink { .. } => {} + Kind::Root { .. } => unreachable!("The root can not be moved"), + } - match &mut state.fs.inodes[source_entry].kind { - Kind::File { - handle, ref path, .. - } => { - // TODO: investigate why handle is not always there, it probably should be. - // My best guess is the fact that a handle means currently open and a path - // just means reference to host file on disk. But ideally those concepts - // could just be unified even if there's a `Box` which just - // implements the logic of "I'm not actually a file, I'll try to be as needed". - let result = if let Some(h) = handle { - state.fs_rename(&source_path, &host_adjusted_target_path) - } else { - let path_clone = path.clone(); - let out = state.fs_rename(&path_clone, &host_adjusted_target_path); - if let Kind::File { ref mut path, .. } = &mut state.fs.inodes[source_entry].kind { - *path = host_adjusted_target_path; - } else { - unreachable!() + if let Kind::Dir { entries, .. } = + &mut state.fs.inodes[target_parent_inode].kind + { + let result = entries.insert(target_entry_name, source_entry); + assert!( + result.is_none(), + "Fatal error: race condition on filesystem detected or internal logic error" + ); + } } - out - }; - // if the above operation failed we have to revert the previous change and then fail - if let Err(e) = result { - if let Kind::Dir { entries, .. } = &mut state.fs.inodes[source_parent_inode].kind { - entries.insert(source_entry_name, source_entry); - return e; + None => { + // QUICK and VERY dirty + let source_path = match &state.fs.inodes[source_parent_inode].kind { + Kind::Dir { entries, path, .. } => { + if entries.contains_key(&source_entry_name) { + return __WASI_EEXIST; + } + let mut out_path = path.clone(); + out_path.push(std::path::Path::new(&source_entry_name)); + out_path + } + Kind::Root { .. } => return __WASI_ENOTCAPABLE, + Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { + unreachable!( + "Fatal internal logic error: parent of inode is not a directory" + ) + } + }; + // Should be a directory + // path seems to be sourcepath + println!("source_path {:?}", source_path); + println!("target_path {:?}", host_adjusted_target_path); + // let cloned_path = path.clone(); + // wasi_try!( + state + .fs_rename_dir(&source_path, &host_adjusted_target_path) + .expect("cannot rename the directory"); + // __WASI_EINVAL + // ); + // if let Err(e) = out { + // // Will see + // println!("ERROR {}", e); + // } } } + // } else { + // wasi_try!(entries.remove(&source_entry_name), __WASI_EINVAL) + // } + } + Kind::Root { .. } => return __WASI_ENOTCAPABLE, + Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { + unreachable!("Fatal internal logic error: parent of inode is not a directory") } - Kind::Dir { path, .. } => unimplemented!("wasi::path_rename on Directories"), - Kind::Buffer { .. } => {} - Kind::Symlink { .. } => {} - Kind::Root { .. } => unreachable!("The root can not be moved"), } - if let Kind::Dir { entries, .. } = &mut state.fs.inodes[target_parent_inode].kind { - let result = entries.insert(target_entry_name, source_entry); - assert!( - result.is_none(), - "Fatal error: race condition on filesystem detected or internal logic error" - ); - } + println!("OKKKKK"); __WASI_ESUCCESS } diff --git a/tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt b/tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/wasi-wast/wasi/tests/fd_rename_path.rs b/tests/wasi-wast/wasi/tests/fd_rename_path.rs index 66e9c7b537f..b802c1743e1 100644 --- a/tests/wasi-wast/wasi/tests/fd_rename_path.rs +++ b/tests/wasi-wast/wasi/tests/fd_rename_path.rs @@ -4,8 +4,9 @@ use std::fs; fn main() { - let old_path = "test_fs/oldname"; - let new_path = "test_fs/newname"; + let old_path = "test_fs/oldname"; + let new_path = "test_fs/newname"; - assert!(fs::rename(old_path, new_path).is_ok()); + assert!(fs::rename(old_path, new_path).is_ok()); + assert!(fs::rename(new_path, old_path).is_ok()); } From 8596a9fa1141debc8f3dec92256b9d4552183bab Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Mon, 6 Sep 2021 18:10:07 +0200 Subject: [PATCH 4/7] wip, remove_dir bug Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- lib/c-api/wasmer.h | 9 + lib/wasi/src/syscalls/mod.rs | 168 ++++++------------ .../wasi/snapshot1/fd_rename_path.wasm | Bin 63501 -> 72348 bytes .../wasi/snapshot1/fd_rename_path.wast | 3 +- tests/wasi-wast/wasi/tests/fd_rename_path.rs | 10 +- 5 files changed, 68 insertions(+), 122 deletions(-) diff --git a/lib/c-api/wasmer.h b/lib/c-api/wasmer.h index 4142d4bd9a6..91e59e4a053 100644 --- a/lib/c-api/wasmer.h +++ b/lib/c-api/wasmer.h @@ -62,9 +62,18 @@ # define DEPRECATED(message) __declspec(deprecated(message)) #endif +// The `universal` feature has been enabled for this build. +#define WASMER_UNIVERSAL_ENABLED + +// The `compiler` feature has been enabled for this build. +#define WASMER_COMPILER_ENABLED + // The `wasi` feature has been enabled for this build. #define WASMER_WASI_ENABLED +// The `middlewares` feature has been enabled for this build. +#define WASMER_MIDDLEWARES_ENABLED + // This file corresponds to the following Wasmer version. #define WASMER_VERSION "2.0.0" #define WASMER_VERSION_MAJOR 2 diff --git a/lib/wasi/src/syscalls/mod.rs b/lib/wasi/src/syscalls/mod.rs index 6ce60132bec..fde1e2ff0f5 100644 --- a/lib/wasi/src/syscalls/mod.rs +++ b/lib/wasi/src/syscalls/mod.rs @@ -2029,7 +2029,6 @@ pub fn path_rename( new_path: WasmPtr, new_path_len: u32, ) -> __wasi_errno_t { - println!("!!!!!!!"); debug!( "wasi::path_rename: old_fd = {}, new_fd = {}", old_fd, new_fd @@ -2041,7 +2040,6 @@ pub fn path_rename( let target_path = std::path::Path::new(&target_str); debug!("=> rename from {} to {}", &source_str, &target_str); - println!("check rights"); { let source_fd = wasi_try!(state.fs.get_fd(old_fd)); if !has_rights(source_fd.rights, __WASI_RIGHT_PATH_RENAME_SOURCE) { @@ -2055,7 +2053,6 @@ pub fn path_rename( let (source_parent_inode, source_entry_name) = wasi_try!(state.fs.get_parent_inode_at_path(old_fd, source_path, true)); - println!("rights checked --- {:?}", source_entry_name); let (target_parent_inode, target_entry_name) = wasi_try!(state.fs.get_parent_inode_at_path(new_fd, target_path, true)); @@ -2073,128 +2070,67 @@ pub fn path_rename( unreachable!("Fatal internal logic error: parent of inode is not a directory") } }; - println!( - "host_adjusted_target_path = {:?}", - host_adjusted_target_path - ); - // let source_entry = - match &mut state.fs.inodes[source_parent_inode].kind { + + let source_entry = match &mut state.fs.inodes[source_parent_inode].kind { Kind::Dir { entries, .. } => { - println!("it's a dir -- entries --- {:#?}", entries); - // if entries.contains_key(&source_entry_name).is_some() { - match entries.remove(&source_entry_name) { - Some(source_entry) => { - match &mut state.fs.inodes[source_entry].kind { - Kind::File { - handle, ref path, .. - } => { - // TODO: investigate why handle is not always there, it probably should be. - // My best guess is the fact that a handle means currently open and a path - // just means reference to host file on disk. But ideally those concepts - // could just be unified even if there's a `Box` which just - // implements the logic of "I'm not actually a file, I'll try to be as needed". - let result = if let Some(h) = handle { - state.fs_rename(&source_path, &host_adjusted_target_path) - } else { - let path_clone = path.clone(); - let out = state.fs_rename(&path_clone, &host_adjusted_target_path); - if let Kind::File { ref mut path, .. } = - &mut state.fs.inodes[source_entry].kind - { - *path = host_adjusted_target_path; - } else { - unreachable!() - } - out - }; - // if the above operation failed we have to revert the previous change and then fail - if let Err(e) = result { - if let Kind::Dir { entries, .. } = - &mut state.fs.inodes[source_parent_inode].kind - { - entries.insert(source_entry_name, source_entry); - return e; - } - } - } - Kind::Dir { ref path, .. } => { - // path seems to be sourcepath - println!("source_path {:?}", path); - println!("target_path {:?}", host_adjusted_target_path); - let cloned_path = path.clone(); - // wasi_try!( - state - .fs_rename_dir(cloned_path, &host_adjusted_target_path) - .expect("cannot rename the directory"); - // __WASI_EINVAL - // ); - // if let Err(e) = out { - // // Will see - // println!("ERROR {}", e); - // } - unreachable!() - } - Kind::Buffer { .. } => {} - Kind::Symlink { .. } => {} - Kind::Root { .. } => unreachable!("The root can not be moved"), - } + wasi_try!(entries.remove(&source_entry_name), __WASI_EINVAL) + } + Kind::Root { .. } => return __WASI_ENOTCAPABLE, + Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { + unreachable!("Fatal internal logic error: parent of inode is not a directory") + } + }; - if let Kind::Dir { entries, .. } = - &mut state.fs.inodes[target_parent_inode].kind - { - let result = entries.insert(target_entry_name, source_entry); - assert!( - result.is_none(), - "Fatal error: race condition on filesystem detected or internal logic error" - ); - } + match &mut state.fs.inodes[source_entry].kind { + Kind::File { + handle, ref path, .. + } => { + // TODO: investigate why handle is not always there, it probably should be. + // My best guess is the fact that a handle means currently open and a path + // just means reference to host file on disk. But ideally those concepts + // could just be unified even if there's a `Box` which just + // implements the logic of "I'm not actually a file, I'll try to be as needed". + let result = if let Some(h) = handle { + state.fs_rename(&source_path, &host_adjusted_target_path) + } else { + let path_clone = path.clone(); + let out = state.fs_rename(&path_clone, &host_adjusted_target_path); + if let Kind::File { ref mut path, .. } = &mut state.fs.inodes[source_entry].kind { + *path = host_adjusted_target_path; + } else { + unreachable!() } - None => { - // QUICK and VERY dirty - let source_path = match &state.fs.inodes[source_parent_inode].kind { - Kind::Dir { entries, path, .. } => { - if entries.contains_key(&source_entry_name) { - return __WASI_EEXIST; - } - let mut out_path = path.clone(); - out_path.push(std::path::Path::new(&source_entry_name)); - out_path - } - Kind::Root { .. } => return __WASI_ENOTCAPABLE, - Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { - unreachable!( - "Fatal internal logic error: parent of inode is not a directory" - ) - } - }; - // Should be a directory - // path seems to be sourcepath - println!("source_path {:?}", source_path); - println!("target_path {:?}", host_adjusted_target_path); - // let cloned_path = path.clone(); - // wasi_try!( - state - .fs_rename_dir(&source_path, &host_adjusted_target_path) - .expect("cannot rename the directory"); - // __WASI_EINVAL - // ); - // if let Err(e) = out { - // // Will see - // println!("ERROR {}", e); - // } + out + }; + // if the above operation failed we have to revert the previous change and then fail + if let Err(e) = result { + if let Kind::Dir { entries, .. } = &mut state.fs.inodes[source_parent_inode].kind { + entries.insert(source_entry_name, source_entry); + return e; } } - // } else { - // wasi_try!(entries.remove(&source_entry_name), __WASI_EINVAL) - // } } - Kind::Root { .. } => return __WASI_ENOTCAPABLE, - Kind::Symlink { .. } | Kind::File { .. } | Kind::Buffer { .. } => { - unreachable!("Fatal internal logic error: parent of inode is not a directory") + Kind::Dir { ref path, .. } => { + let cloned_path = path.clone(); + if let Err(e) = state.fs_rename(cloned_path, &host_adjusted_target_path) { + return e; + } + if let Kind::Dir { path, .. } = &mut state.fs.inodes[source_entry].kind { + *path = host_adjusted_target_path; + } } + Kind::Buffer { .. } => {} + Kind::Symlink { .. } => {} + Kind::Root { .. } => unreachable!("The root can not be moved"), } - println!("OKKKKK"); + if let Kind::Dir { entries, .. } = &mut state.fs.inodes[target_parent_inode].kind { + let result = entries.insert(target_entry_name, source_entry); + assert!( + result.is_none(), + "Fatal error: race condition on filesystem detected or internal logic error" + ); + } __WASI_ESUCCESS } diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm index e3396e3ec611953df56067ec6761f8277dfd259d..2b0a82ffe9d35aed2999220885702aeea83d5461 100755 GIT binary patch delta 33654 zcmb`w3z!^Lng3sx?w+3Mo|(%1GD)cJT$qI1P)I@oI5m(!j6gt?iy#CtKqmK@;o_=v zAQ2-*1q<1zs8MkfT~Hu^r~wB>MTv?6iWmi5)t=UxW##w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dMZ6@=&mNEZ$t+C6`^XxFcGycu`06mATR4j(MXeI2V?8uUG2x?zhXk z_bW9fu^nwALeQO7s;X?k;*Pmjk7-}@QF-?qR~_5;^A(|Bj3Q8u=kpcaKX%nfcUi>~ zyIuTvqWg<~>vl`kw+}xRl|&t%nRrgab9(pVrRvl{OAiknV8=NR*r$SIQ~o0poY9>v zQ>VH^`*$xYQ^)o{slO#$77Pnvbeu6`oZI?$AD31Gy5B0p;n2$d-5->x)9cP*CH`@Y zbMcUQy3m>bss@BoUNxY5cAzGejYU2}`I!T{*9L0Z>DM7o*1ijGVsS0r6!#5ylbJ5W z^I2_nq7CPq6!p%xe*gij8$+1#YU4{tpNHpsJQ4ndRTc)Sh76vts@tU1kKCZC5@H?=0%uXI*yD+-UA)bD~Qw zn=|+7=wg%;m*c9tpQunH%a$Qe<#2y>_XibfS@M&|p;eCRzM)d}?_OT1O1kf^R8{V# zC%V^Hs^MSRRAbG>jp#u<=kwPfO_Pw%f9;@r2lB*CzP|0C`niSr?(v}-*Y~tqtLe|f zo6zkX(47m_$m%ZSE0DhzZ{q2Gytx|GKO3q^*?hn4D5r$~6>m!ZCwM1qyCHqln7)mJ zLT5PgH1^acjf0-JppUvfam;7Z=Tb Y;;aGc2=8$I23Sx@?&3ebAFc@hAJR2ytN;K2 diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast index 97046bb5783..fd3e59714b3 100644 --- a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast +++ b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wast @@ -2,6 +2,5 @@ (wasi_test "fd_rename_path.wasm" (preopens "test_fs") - (assert_return (i64.const 101)) - (assert_stderr "thread 'main' panicked at 'assertion failed: fs::rename(old_path, new_path).is_ok()', /Users/syrus/Development/wasmer/tests/wasi-wast/wasi/tests/fd_rename_path.rs:10:3\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n") + (assert_return (i64.const 0)) ) diff --git a/tests/wasi-wast/wasi/tests/fd_rename_path.rs b/tests/wasi-wast/wasi/tests/fd_rename_path.rs index b802c1743e1..8261958b656 100644 --- a/tests/wasi-wast/wasi/tests/fd_rename_path.rs +++ b/tests/wasi-wast/wasi/tests/fd_rename_path.rs @@ -2,11 +2,13 @@ // dir: test_fs use std::fs; +use std::path::PathBuf; fn main() { - let old_path = "test_fs/oldname"; - let new_path = "test_fs/newname"; + let old_path = PathBuf::from("test_fs/wasitests/dirtorename"); + let new_path = PathBuf::from("test_fs/wasitests/dirrenamed"); + fs::create_dir_all(&old_path).expect("cannot create the directory"); - assert!(fs::rename(old_path, new_path).is_ok()); - assert!(fs::rename(new_path, old_path).is_ok()); + fs::rename(old_path, &new_path).expect("cannot rename the directory"); + fs::remove_dir(&new_path).expect("cannot remove the directory"); } From e0e12f9d9ff41a512e44bd497324eeb0f71abfe2 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Tue, 7 Sep 2021 13:55:24 +0200 Subject: [PATCH 5/7] feat(wasi): add rename for a directory + fix remove_dir Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- lib/vfs/src/host_fs.rs | 9 --------- lib/vfs/src/lib.rs | 1 - lib/vfs/src/mem_fs/filesystem.rs | 4 ---- lib/wasi/src/state/mod.rs | 14 -------------- lib/wasi/src/syscalls/mod.rs | 2 +- tests/compilers/config.rs | 2 +- tests/wasi-wast/README.md | 9 +++++++++ tests/wasi-wast/src/main.rs | 6 +++++- tests/wasi-wast/src/wasitests.rs | 12 ++++++++++-- .../wasi/snapshot1/fd_rename_path.wasm | Bin 72348 -> 72348 bytes .../wasi/test_fs/oldname/fakefile.txt | 0 11 files changed, 26 insertions(+), 33 deletions(-) delete mode 100644 tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt diff --git a/lib/vfs/src/host_fs.rs b/lib/vfs/src/host_fs.rs index 75ba9585b0f..19475768e51 100644 --- a/lib/vfs/src/host_fs.rs +++ b/lib/vfs/src/host_fs.rs @@ -100,15 +100,6 @@ impl crate::FileSystem for FileSystem { fs::rename(from, to).map_err(Into::into) } - fn rename_dir(&self, from: &Path, to: &Path) -> Result<()> { - let metadata = self.metadata(from)?; - if metadata.is_dir() { - fs::rename(from, to).map_err(Into::into) - } else { - Err(FsError::BaseNotDirectory) - } - } - fn remove_file(&self, path: &Path) -> Result<()> { fs::remove_file(path).map_err(Into::into) } diff --git a/lib/vfs/src/lib.rs b/lib/vfs/src/lib.rs index df2f8335dfb..b3fa148167f 100644 --- a/lib/vfs/src/lib.rs +++ b/lib/vfs/src/lib.rs @@ -27,7 +27,6 @@ pub trait FileSystem: fmt::Debug + Send + Sync + 'static { fn create_dir(&self, path: &Path) -> Result<()>; fn remove_dir(&self, path: &Path) -> Result<()>; fn rename(&self, from: &Path, to: &Path) -> Result<()>; - fn rename_dir(&self, from: &Path, to: &Path) -> Result<()>; fn metadata(&self, path: &Path) -> Result; /// This method gets metadata without following symlinks in the path. /// Currently identical to `metadata` because symlinks aren't implemented diff --git a/lib/vfs/src/mem_fs/filesystem.rs b/lib/vfs/src/mem_fs/filesystem.rs index 8564240171d..d22bec69003 100644 --- a/lib/vfs/src/mem_fs/filesystem.rs +++ b/lib/vfs/src/mem_fs/filesystem.rs @@ -224,10 +224,6 @@ impl crate::FileSystem for FileSystem { Ok(()) } - fn rename_dir(&self, from: &Path, to: &Path) -> Result<()> { - unimplemented!("not already implemented for mem_fs") - } - fn metadata(&self, path: &Path) -> Result { // Read lock. let fs = self.inner.try_read().map_err(|_| FsError::Lock)?; diff --git a/lib/wasi/src/state/mod.rs b/lib/wasi/src/state/mod.rs index f17641b30af..fa3fdf22376 100644 --- a/lib/wasi/src/state/mod.rs +++ b/lib/wasi/src/state/mod.rs @@ -207,9 +207,6 @@ impl FileSystem for FallbackFileSystem { fn rename(&self, _from: &Path, _to: &Path) -> Result<(), FsError> { Self::fail(); } - fn rename_dir(&self, _from: &Path, _to: &Path) -> Result<(), FsError> { - Self::fail(); - } fn metadata(&self, _path: &Path) -> Result { Self::fail(); } @@ -1517,17 +1514,6 @@ impl WasiState { .map_err(fs_error_into_wasi_err) } - pub(crate) fn fs_rename_dir, Q: AsRef>( - &self, - from: P, - to: Q, - ) -> Result<(), __wasi_errno_t> { - self.fs - .fs_backing - .rename_dir(from.as_ref(), to.as_ref()) - .map_err(fs_error_into_wasi_err) - } - pub(crate) fn fs_remove_file>(&self, path: P) -> Result<(), __wasi_errno_t> { self.fs .fs_backing diff --git a/lib/wasi/src/syscalls/mod.rs b/lib/wasi/src/syscalls/mod.rs index fde1e2ff0f5..b428447fe70 100644 --- a/lib/wasi/src/syscalls/mod.rs +++ b/lib/wasi/src/syscalls/mod.rs @@ -1990,7 +1990,7 @@ pub fn path_remove_directory( ), } - if state.fs_remove_dir(path_str).is_err() { + if state.fs_remove_dir(host_path_to_remove).is_err() { // reinsert to prevent FS from being in bad state if let Kind::Dir { ref mut entries, .. diff --git a/tests/compilers/config.rs b/tests/compilers/config.rs index 406eea2eac8..8274ed20044 100644 --- a/tests/compilers/config.rs +++ b/tests/compilers/config.rs @@ -125,7 +125,7 @@ impl Config { self.add_middlewares(&mut compiler); Box::new(compiler) } - #[allow(dead_code)] + #[allow(unreachable_patterns)] compiler => { panic!( "The {:?} Compiler is not enabled. Enable it via the features", diff --git a/tests/wasi-wast/README.md b/tests/wasi-wast/README.md index 36968c6318f..a17321f8b4a 100644 --- a/tests/wasi-wast/README.md +++ b/tests/wasi-wast/README.md @@ -12,6 +12,9 @@ In order to run the test generator properly you will need: ## Usage ``` +Positional arguments: + free if you want to specify specific tests to generate + Optional arguments: -a, --all-versions Whether or not to do operations for all versions of WASI or just the latest. -g, --generate-wasm Whether or not the Wasm will be generated. @@ -26,6 +29,12 @@ cargo run -- -as # set up the toolchains for all targets cargo run -- -ag # generate the WASI tests for all targets ``` +If you want to generate specific tests (it's faster when you're developing) you can use this command: + +```bash +cargo run -- -g fd_rename_path # If you want to run the test in fd_rename_path.rs +``` + ## Updating in Wasmer Run diff --git a/tests/wasi-wast/src/main.rs b/tests/wasi-wast/src/main.rs index ce2a43e3f7a..fabdf052478 100644 --- a/tests/wasi-wast/src/main.rs +++ b/tests/wasi-wast/src/main.rs @@ -14,6 +14,9 @@ use gumdrop::Options; #[derive(Debug, Options)] pub struct TestGenOptions { + /// if you want to specify specific tests to generate + #[options(free)] + free: Vec, /// Whether or not to do operations for all versions of WASI or just the latest. all_versions: bool, /// Whether or not the Wasm will be generated. @@ -48,6 +51,7 @@ fn main() { // Generate the WASI Wasm files if generate_wasm { - build(wasi_versions); + let specific_tests: Vec<&str> = opts.free.iter().map(|st| st.as_str()).collect(); + build(wasi_versions, &specific_tests); } } diff --git a/tests/wasi-wast/src/wasitests.rs b/tests/wasi-wast/src/wasitests.rs index 39e8a426a74..f4361cb4e50 100644 --- a/tests/wasi-wast/src/wasitests.rs +++ b/tests/wasi-wast/src/wasitests.rs @@ -246,13 +246,21 @@ fn compile(temp_dir: &Path, file: &str, wasi_versions: &[WasiVersion]) { } const WASI_TEST_SRC_DIR: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/wasi/tests/*.rs"); -pub fn build(wasi_versions: &[WasiVersion]) { +pub fn build(wasi_versions: &[WasiVersion], specific_tests: &[&str]) { let temp_dir = tempfile::TempDir::new().unwrap(); for entry in glob(WASI_TEST_SRC_DIR).unwrap() { match entry { Ok(path) => { let test = path.to_str().unwrap(); - compile(temp_dir.path(), test, wasi_versions); + if !specific_tests.is_empty() { + if let Some(filename) = path.file_stem().map(|f| f.to_str()).flatten() { + if specific_tests.contains(&filename) { + compile(temp_dir.path(), test, wasi_versions); + } + } + } else { + compile(temp_dir.path(), test, wasi_versions); + } } Err(e) => println!("{:?}", e), } diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm index 2b0a82ffe9d35aed2999220885702aeea83d5461..de66cdd18c9c053f5319a8ea4d50a91ba93e6a95 100755 GIT binary patch delta 21 dcmbQUm1WLWmJNoV*i3ShERsDon}15x003lG2-5%n delta 21 dcmbQUm1WLWmJNoV*xZUEL!AsZn}15x003lo2*v;a diff --git a/tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt b/tests/wasi-wast/wasi/test_fs/oldname/fakefile.txt deleted file mode 100644 index e69de29bb2d..00000000000 From 1a71dc222745f1d56a48f2922c1096cd723c3db6 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Tue, 7 Sep 2021 18:06:13 +0200 Subject: [PATCH 6/7] feat(wasi): add rename for a directory + fix remove_dir Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- Makefile | 2 +- lib/c-api/wasmer.h | 9 --------- tests/wasi-wast/src/wasitests.rs | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Makefile b/Makefile index b9c8e9b90f3..b73dc17d508 100644 --- a/Makefile +++ b/Makefile @@ -565,7 +565,7 @@ test-wasi-unit: cargo test --manifest-path lib/wasi/Cargo.toml --release test-wasi: - cargo test --release --tests $(compiler_features) -- wasi::wasitests::snapshot1 + cargo test --release --tests $(compiler_features) -- wasi::wasitests test-examples: cargo test --release $(compiler_features) --features wasi --examples diff --git a/lib/c-api/wasmer.h b/lib/c-api/wasmer.h index 91e59e4a053..4142d4bd9a6 100644 --- a/lib/c-api/wasmer.h +++ b/lib/c-api/wasmer.h @@ -62,18 +62,9 @@ # define DEPRECATED(message) __declspec(deprecated(message)) #endif -// The `universal` feature has been enabled for this build. -#define WASMER_UNIVERSAL_ENABLED - -// The `compiler` feature has been enabled for this build. -#define WASMER_COMPILER_ENABLED - // The `wasi` feature has been enabled for this build. #define WASMER_WASI_ENABLED -// The `middlewares` feature has been enabled for this build. -#define WASMER_MIDDLEWARES_ENABLED - // This file corresponds to the following Wasmer version. #define WASMER_VERSION "2.0.0" #define WASMER_VERSION_MAJOR 2 diff --git a/tests/wasi-wast/src/wasitests.rs b/tests/wasi-wast/src/wasitests.rs index f4361cb4e50..9ac9a861a2b 100644 --- a/tests/wasi-wast/src/wasitests.rs +++ b/tests/wasi-wast/src/wasitests.rs @@ -147,7 +147,6 @@ fn compile_wasm_for_version( .create(true) .open(&temp_wasi_rs_file_name) .unwrap(); - // actual_file.write_all(b"#![feature(wasi_ext)]\n").unwrap(); actual_file.write_all(file_contents.as_bytes()).unwrap(); } From f449ae56738ab3bfea70204e634b265ffe0855a1 Mon Sep 17 00:00:00 2001 From: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> Date: Thu, 9 Sep 2021 10:19:25 +0200 Subject: [PATCH 7/7] clean the environment in tests Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com> --- .../wasi/snapshot1/fd_rename_path.wasm | Bin 72348 -> 72417 bytes tests/wasi-wast/wasi/tests/fd_rename_path.rs | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm b/tests/wasi-wast/wasi/snapshot1/fd_rename_path.wasm index de66cdd18c9c053f5319a8ea4d50a91ba93e6a95..b16a95b6227385b3f4b996094cc396e58736cbc6 100755 GIT binary patch delta 6519 zcma)Ad301o)_?c)>n+`#yo5kVAmMdG_5>1^1Ok#&Fha-(5ds7Ohp;CBBp4Rap(6yu zF$_z|qJW@d2%E#wY>vpLAP(rbp|}o=&dBHBxO{q!Iv)9c_q}w0Gc%sA|ER9I_tvfZ z?q0R|kap#ewmREGL0UXf3*x8j@B2B$o}m}X?a?&Vp{i=MTOo(TA$zMi=?=|iQ|y{6 z!e&=&PN(K_xLmG?2%DnVRhwOP+RUHgbjp=#?`Wq+T9l%YqIfk$(_BvZrdk_3Pui@i z>exxX4(cITkNE{Vy7z0=b&2c~3XXVuLeJ8r`GUyrFAJMQj#CibeSojI#x-0XWh zCv^%&{+3qIBXpLw(c|<2{jMARo+9J7(;j-3UZy|LUfM^m&^d~D^h4W=^n*&SpuSjM zwi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?V zLf8-k7?1-Iab_bNaVCxc^8>}Me6%lUSV2SNg@)d!U{V(qp+9QTP?%@^qNy}p-n`h7 z35%;$uK?}p#p_`Dv?T+e;`k*K1Mw&xP<<%yk}oaUttPYL6@qcehv4f3v29DMJJ~%9 zdh(~Gli;f3ZZAMh+j4tZDd!JPHvxQ<)_-bMIYeb4q^T=r-sJSt#_0zM=7-yh5SI@w z%a>!84OG2$S{5z2;~p<9lZTpbLz~@Vp&i~*gZA;3WV8obhP#*H-LIL;qDJe!?gb5D zrKu*2`T`Aq`vAm{)*bl>~7qQD#FL&)hKq^w_(3+S-x(r2x~zS zmp+EG6(Ssj+5q$x`O@|t)G9yOURT_quMSf#4(o_J;F0~$695u+G`(CWfrxdOc!U3v zn$|WlrpX2`apGy1ut~nuR_sAu_JXrT{-f<`S|YP{^uit^cjTg7vZIw+L9Eq<+<0#(VA%a z8=q6RZODYs1;D%d0PamUx5@ms-lKKV|9)#EL8t0>X5rv_-nkF`0jJuKJ{ilLY!P{;r-Y=uw(YxMnBz!J?P)o@B zV?LUYxRC*v|CLdP#zI^N>v8m>v*6hJF~5l}eSDNQMvr__s(TM{=mHK8%S*rC2_3e7 z_9fxd`o%CxU&EHw#a^dqeFrD)7-onKY83tE%Xjn})-#VoJgtjA9R&}ULE`*AoIPLs zzyx(W0Azc*gL^mqD{kpH8=`eG^Xx`w#*YroJRCiFHr~^y3M?)>{(Pik9{`9hPQBbY z;<;Z&Jh!WBjtfFHQVJOVXHFNFu8?Wiqb^Q+E>E2k3s?V>P&MjewdZ8hw^nSIx|jid?}d5PCNnM`fzN+&aRP0T{l2%*j{Clq?vS5-zuDDq-n0SJhs(SE XT0}ni{9p4aAU{JJjJp2zdG`MT1*k3G diff --git a/tests/wasi-wast/wasi/tests/fd_rename_path.rs b/tests/wasi-wast/wasi/tests/fd_rename_path.rs index 8261958b656..d9b5d96021d 100644 --- a/tests/wasi-wast/wasi/tests/fd_rename_path.rs +++ b/tests/wasi-wast/wasi/tests/fd_rename_path.rs @@ -7,6 +7,10 @@ use std::path::PathBuf; fn main() { let old_path = PathBuf::from("test_fs/wasitests/dirtorename"); let new_path = PathBuf::from("test_fs/wasitests/dirrenamed"); + // Clean the test environment + let _ = fs::remove_dir(&old_path); + let _ = fs::remove_dir(&new_path); + fs::create_dir_all(&old_path).expect("cannot create the directory"); fs::rename(old_path, &new_path).expect("cannot rename the directory");