wasmer/lib/wasi-tests/tests/wasitests/path_link.rs

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"
);
}