mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 06:35:40 +00:00
21 lines
499 B
Rust
21 lines
499 B
Rust
|
#[test]
|
||
|
fn test_path_link() {
|
||
|
assert_wasi_output!(
|
||
|
"../../wasitests/path_link.wasm",
|
||
|
"path_link",
|
||
|
vec![],
|
||
|
vec![
|
||
|
(
|
||
|
"act5".to_string(),
|
||
|
::std::path::PathBuf::from("wasitests/test_fs/hamlet/act5")
|
||
|
),
|
||
|
(
|
||
|
"temp".to_string(),
|
||
|
::std::path::PathBuf::from("wasitests/test_fs/temp")
|
||
|
),
|
||
|
],
|
||
|
vec![],
|
||
|
"../../wasitests/path_link.out"
|
||
|
);
|
||
|
}
|