diff options
author | Anthony Pesch <inolen@gmail.com> | 2013-09-02 22:32:55 -0700 |
---|---|---|
committer | Anthony Pesch <inolen@gmail.com> | 2013-09-03 22:00:02 -0700 |
commit | 9ba95541831fcddf3e99554cd3a11c87cb935d3b (patch) | |
tree | 875433d8010bf80c6c90231fd3617cfb6391209e /tests/unistd/links.c | |
parent | 47d35839b54bedb65427bcac153f112e33cea478 (diff) |
updated unistd and fs_base tests to use new FS APIs
Diffstat (limited to 'tests/unistd/links.c')
-rw-r--r-- | tests/unistd/links.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unistd/links.c b/tests/unistd/links.c index c6da83b9..5b403c1f 100644 --- a/tests/unistd/links.c +++ b/tests/unistd/links.c @@ -1,8 +1,15 @@ #include <stdio.h> #include <errno.h> #include <unistd.h> +#include <emscripten.h> int main() { + EM_ASM( + FS.symlink('../test/../there!', '/link'); + FS.writeFile('/file', 'test'); + FS.mkdir('/folder'); + ); + char* files[] = {"/link", "/file", "/folder"}; char buffer[256] = {0}; |