mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
12 lines
519 B
Rust
12 lines
519 B
Rust
#[test]
|
|
fn test_wasi_sees_virtual_root() {
|
|
assert_wasi_output!(
|
|
"../../wasitests/wasi_sees_virtual_root.wasm",
|
|
"wasi_sees_virtual_root",
|
|
vec![],
|
|
vec![("act1".to_string(), ::std::path::PathBuf::from("wasitests/test_fs/hamlet/act1")),("act2".to_string(), ::std::path::PathBuf::from("wasitests/test_fs/hamlet/act2")),("act1-again".to_string(), ::std::path::PathBuf::from("wasitests/test_fs/hamlet/act1")),],
|
|
vec![],
|
|
"../../wasitests/wasi_sees_virtual_root.out"
|
|
);
|
|
}
|