Refactor
This commit is contained in:
@@ -1,66 +1,66 @@
|
||||
mod runtime;
|
||||
|
||||
#[test]
|
||||
fn sched_yield() {
|
||||
fn sched_yield() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/sched_yield.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn truncation_rights() {
|
||||
fn truncation_rights() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/truncation_rights.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unlink_directory() {
|
||||
fn unlink_directory() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/unlink_directory.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn remove_nonempty_directory() {
|
||||
fn remove_nonempty_directory() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/remove_nonempty_directory.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn interesting_paths() {
|
||||
fn interesting_paths() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/interesting_paths.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn nofollow_errors() {
|
||||
fn nofollow_errors() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/nofollow_errors.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn symlink_loop() {
|
||||
fn symlink_loop() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/symlink_loop.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn close_preopen() {
|
||||
fn close_preopen() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/close_preopen.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn clock_time_get() {
|
||||
fn clock_time_get() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/clock_time_get.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn readlink_no_buffer() {
|
||||
fn readlink_no_buffer() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/readlink_no_buffer.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn isatty() {
|
||||
fn isatty() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/isatty.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn directory_seek() {
|
||||
fn directory_seek() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/directory_seek.wasm")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn big_random_buf() {
|
||||
fn big_random_buf() -> Result<(), String> {
|
||||
runtime::run_test("tests/misc-tests/bin/big_random_buf.wasm")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user