add the syscall and create a test

This commit is contained in:
Mackenzie Clark
2019-02-22 12:32:14 -08:00
parent c9969f269c
commit ad3d361f76
6 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#[test]
fn test_getcwd() {
assert_emscripten_output!(
"../../emtests/test_getcwd.wasm",
"getcwd",
vec![],
"../../emtests/test_getcwd.out"
);
}