Mark McCaskey
6a5efcda98
Update wasi-tests
to test multiple versions of WASI
...
This change also cleans up the `wasi-test` generation a bit. It's
actually still really, really messy, but at least now it's split up
into easier to understand chunks.
There's still a lot of low-hanging fruit in terms of improving the
readibilty and maintainability of the code.
2020-03-13 15:41:50 -07:00
Syrus
c287170166
Fixed wasi isatty tests when being generated
2020-02-13 10:33:27 -08:00
Syrus
62e1526037
Fixed WASI isatty
2020-02-12 23:00:30 -08:00
Mark McCaskey
adc9f3d479
Explicitly delete temp file in fd_append test
2019-11-08 16:33:08 -08:00
Mark McCaskey
64783423ea
Fix WASI append bug, add test
2019-11-08 11:17:04 -08:00
Mark McCaskey
5353af79ad
Improve fd_close wasi test: explicitly close file
2019-10-22 17:29:19 -07:00
Mark McCaskey
3a87edc0c1
Remove special casing of stdin, stdout, and stderr in WASI FS
2019-10-22 16:40:01 -07:00
Mark McCaskey
5185f120f4
Update some from feedback, fix tests
...
format with 1.37
2019-10-02 11:25:55 -07:00
Mark McCaskey
6fe3719e8e
Add test for closing wasi preopen fd
2019-09-11 14:25:53 -07:00
Mark McCaskey
8b32a838f7
Merge branch 'master' into feature/serialization-of-wasi-state
2019-08-30 05:16:50 +09:00
Mark McCaskey
fba6dbff78
Add tests for stdin, stdout, stderr; implement bytes_available too
2019-08-29 10:42:38 -07:00
Mark McCaskey
634aca8b9d
Add WASI serializing test
2019-08-28 10:50:59 -07:00
Mark McCaskey
0c45707d33
implement wasi::poll_oneoff for write on Unix-like platforms
2019-08-15 15:51:16 +09:00
Mark McCaskey
d733989657
Add wasi::poll_oneoff file read test
2019-08-15 13:13:20 +09:00
Mark McCaskey
61f1df06d1
implement wasi::path_rename
2019-08-09 15:40:04 +09:00
Mark McCaskey
d0696a0c0e
implement wasi::path_symlink test & fix readlink test
2019-08-08 16:42:27 +09:00
Mark McCaskey
ddb0b99f12
implement path_link updated unlink, fix tests, add new test
2019-08-07 16:11:38 +09:00
Mark McCaskey
6ad0be1e02
add fd_sync test
2019-08-07 12:41:35 +09:00
Mark McCaskey
6db7bd8f07
get fd_allocate test working
2019-08-05 14:01:04 +09:00
Mark McCaskey
a12d0ada1a
add wasi::fd_pread test
2019-08-01 16:38:34 +09:00
Mark McCaskey
a0672b3fa2
updates from code review
2019-07-19 13:36:05 -07:00
Mark McCaskey
a8a0dbed91
improve abstraction impl rm syscalls, properly finish create_dir
2019-07-19 11:47:31 -07:00
Mark McCaskey
9910527b30
further improve sandbox, rework syscalls, add tests
2019-07-18 17:14:01 -07:00
Mark McCaskey
e7e1b8c7d3
get tests passing! (more tests and clean up required)
2019-07-17 15:32:47 -07:00
Mark McCaskey
65bc9a5203
massive fs rewrite; add virtual root, tests
2019-07-17 14:00:51 -07:00
Mark McCaskey
78702fc1a0
Merge remote-tracking branch 'origin/master' into feature/wasi-readlink
2019-07-16 13:50:56 -07:00
Mark McCaskey
cea7d5da7d
add readlink test
2019-07-16 13:49:45 -07:00
Mark McCaskey
53d7ecba2c
improve wasitest infra and fix fseek test
2019-07-15 10:36:12 -07:00
Syrus
24f1e99ead
Fixed WASI tests
2019-07-13 16:00:18 -07:00
Mark McCaskey
cbac3ed92d
finish implementation of wasi::fd_seek, fix bug in filestat
2019-07-12 15:10:16 -07:00
Mark McCaskey
5bf491857b
fix abi crates depending on compilers
2019-07-09 11:58:03 -07:00