Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-12-15 18:38:58 +0300
committerRich Trott <rtrott@gmail.com>2019-12-18 04:35:09 +0300
commitb6c589fde50b5b69a77fa6f316bccbc9ff259f48 (patch)
tree646fcd7310508606cc917d17f2c2dbcb9f59488e /test
parent145116b3a16905291f3f1c96646aa89730271002 (diff)
deps,src,test: update to uvwasi 0.0.3
This commit updates to uvwasi 0.0.3, which implements a newer version of the WASI spec, snapshot_1. Since the WASI API has changed, this also requires updating the WebAssembly memory interfacing logic and recompiling the WASI tests with a version of wasi-libc that supports snapshot_1. PR-URL: https://github.com/nodejs/node/pull/30980 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/wasi/test-wasi-symlinks.js2
-rw-r--r--test/wasi/test-wasi.js2
-rwxr-xr-xtest/wasi/wasm/cant_dotdot.wasmbin33007 -> 32641 bytes
-rwxr-xr-xtest/wasi/wasm/clock_getres.wasmbin30146 -> 30064 bytes
-rwxr-xr-xtest/wasi/wasm/exitcode.wasmbin12694 -> 12107 bytes
-rwxr-xr-xtest/wasi/wasm/fd_prestat_get_refresh.wasmbin12855 -> 12307 bytes
-rwxr-xr-xtest/wasi/wasm/follow_symlink.wasmbin34948 -> 34590 bytes
-rwxr-xr-xtest/wasi/wasm/getentropy.wasmbin29943 -> 29861 bytes
-rwxr-xr-xtest/wasi/wasm/getrusage.wasmbin30602 -> 30455 bytes
-rwxr-xr-xtest/wasi/wasm/gettimeofday.wasmbin30428 -> 30346 bytes
-rwxr-xr-xtest/wasi/wasm/notdir.wasmbin31267 -> 30998 bytes
-rwxr-xr-xtest/wasi/wasm/poll.wasmbin34096 -> 33777 bytes
-rwxr-xr-xtest/wasi/wasm/preopen_populates.wasmbin12689 -> 12102 bytes
-rwxr-xr-xtest/wasi/wasm/read_file.wasmbin34932 -> 34574 bytes
-rwxr-xr-xtest/wasi/wasm/read_file_twice.wasmbin35018 -> 34660 bytes
-rwxr-xr-xtest/wasi/wasm/stat.wasmbin34507 -> 34188 bytes
-rwxr-xr-xtest/wasi/wasm/stdin.wasmbin18390 -> 18044 bytes
-rwxr-xr-xtest/wasi/wasm/symlink_escape.wasmbin33026 -> 32660 bytes
-rwxr-xr-xtest/wasi/wasm/symlink_loop.wasmbin33009 -> 32643 bytes
-rwxr-xr-xtest/wasi/wasm/write_file.wasmbin33357 -> 32983 bytes
20 files changed, 2 insertions, 2 deletions
diff --git a/test/wasi/test-wasi-symlinks.js b/test/wasi/test-wasi-symlinks.js
index 7c6e6809738..56e49331b0b 100644
--- a/test/wasi/test-wasi-symlinks.js
+++ b/test/wasi/test-wasi-symlinks.js
@@ -17,7 +17,7 @@ if (process.argv[2] === 'wasi-child') {
'/sandbox': process.argv[4]
}
});
- const importObject = { wasi_unstable: wasi.wasiImport };
+ const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`);
const buffer = fs.readFileSync(modulePath);
diff --git a/test/wasi/test-wasi.js b/test/wasi/test-wasi.js
index d1060f5b32d..f80ed835f82 100644
--- a/test/wasi/test-wasi.js
+++ b/test/wasi/test-wasi.js
@@ -22,7 +22,7 @@ if (process.argv[2] === 'wasi-child') {
'/tmp': tmpdir.path
}
});
- const importObject = { wasi_unstable: wasi.wasiImport };
+ const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
const modulePath = path.join(wasmDir, `${process.argv[3]}.wasm`);
const buffer = fs.readFileSync(modulePath);
diff --git a/test/wasi/wasm/cant_dotdot.wasm b/test/wasi/wasm/cant_dotdot.wasm
index 61e202d6913..1ffbe23c6af 100755
--- a/test/wasi/wasm/cant_dotdot.wasm
+++ b/test/wasi/wasm/cant_dotdot.wasm
Binary files differ
diff --git a/test/wasi/wasm/clock_getres.wasm b/test/wasi/wasm/clock_getres.wasm
index fac14edb04d..510049dca4a 100755
--- a/test/wasi/wasm/clock_getres.wasm
+++ b/test/wasi/wasm/clock_getres.wasm
Binary files differ
diff --git a/test/wasi/wasm/exitcode.wasm b/test/wasi/wasm/exitcode.wasm
index b2d9ef5e114..ceb797f8b31 100755
--- a/test/wasi/wasm/exitcode.wasm
+++ b/test/wasi/wasm/exitcode.wasm
Binary files differ
diff --git a/test/wasi/wasm/fd_prestat_get_refresh.wasm b/test/wasi/wasm/fd_prestat_get_refresh.wasm
index cf4bb97c3b2..159cfa9e4c8 100755
--- a/test/wasi/wasm/fd_prestat_get_refresh.wasm
+++ b/test/wasi/wasm/fd_prestat_get_refresh.wasm
Binary files differ
diff --git a/test/wasi/wasm/follow_symlink.wasm b/test/wasi/wasm/follow_symlink.wasm
index 48cf8da1eb2..f5f236c53f2 100755
--- a/test/wasi/wasm/follow_symlink.wasm
+++ b/test/wasi/wasm/follow_symlink.wasm
Binary files differ
diff --git a/test/wasi/wasm/getentropy.wasm b/test/wasi/wasm/getentropy.wasm
index 6e3e8c8a8ed..527ac6a17d3 100755
--- a/test/wasi/wasm/getentropy.wasm
+++ b/test/wasi/wasm/getentropy.wasm
Binary files differ
diff --git a/test/wasi/wasm/getrusage.wasm b/test/wasi/wasm/getrusage.wasm
index 524e809175b..c9546e232c7 100755
--- a/test/wasi/wasm/getrusage.wasm
+++ b/test/wasi/wasm/getrusage.wasm
Binary files differ
diff --git a/test/wasi/wasm/gettimeofday.wasm b/test/wasi/wasm/gettimeofday.wasm
index 94627f00866..7629b119d88 100755
--- a/test/wasi/wasm/gettimeofday.wasm
+++ b/test/wasi/wasm/gettimeofday.wasm
Binary files differ
diff --git a/test/wasi/wasm/notdir.wasm b/test/wasi/wasm/notdir.wasm
index f83a790ddc4..6b592fc17b0 100755
--- a/test/wasi/wasm/notdir.wasm
+++ b/test/wasi/wasm/notdir.wasm
Binary files differ
diff --git a/test/wasi/wasm/poll.wasm b/test/wasi/wasm/poll.wasm
index 98d0736762d..90b39c502ef 100755
--- a/test/wasi/wasm/poll.wasm
+++ b/test/wasi/wasm/poll.wasm
Binary files differ
diff --git a/test/wasi/wasm/preopen_populates.wasm b/test/wasi/wasm/preopen_populates.wasm
index e7c34bc9646..618050b3b4c 100755
--- a/test/wasi/wasm/preopen_populates.wasm
+++ b/test/wasi/wasm/preopen_populates.wasm
Binary files differ
diff --git a/test/wasi/wasm/read_file.wasm b/test/wasi/wasm/read_file.wasm
index 2b9db77d272..1c5e8107e0a 100755
--- a/test/wasi/wasm/read_file.wasm
+++ b/test/wasi/wasm/read_file.wasm
Binary files differ
diff --git a/test/wasi/wasm/read_file_twice.wasm b/test/wasi/wasm/read_file_twice.wasm
index cd075a4de75..6917a105eb4 100755
--- a/test/wasi/wasm/read_file_twice.wasm
+++ b/test/wasi/wasm/read_file_twice.wasm
Binary files differ
diff --git a/test/wasi/wasm/stat.wasm b/test/wasi/wasm/stat.wasm
index 9007334d37d..0d7980970fb 100755
--- a/test/wasi/wasm/stat.wasm
+++ b/test/wasi/wasm/stat.wasm
Binary files differ
diff --git a/test/wasi/wasm/stdin.wasm b/test/wasi/wasm/stdin.wasm
index 72646087532..3cc548607af 100755
--- a/test/wasi/wasm/stdin.wasm
+++ b/test/wasi/wasm/stdin.wasm
Binary files differ
diff --git a/test/wasi/wasm/symlink_escape.wasm b/test/wasi/wasm/symlink_escape.wasm
index 0cdb8327a1a..fcb8cfd5790 100755
--- a/test/wasi/wasm/symlink_escape.wasm
+++ b/test/wasi/wasm/symlink_escape.wasm
Binary files differ
diff --git a/test/wasi/wasm/symlink_loop.wasm b/test/wasi/wasm/symlink_loop.wasm
index 3883d5278c7..98e5c62f4b8 100755
--- a/test/wasi/wasm/symlink_loop.wasm
+++ b/test/wasi/wasm/symlink_loop.wasm
Binary files differ
diff --git a/test/wasi/wasm/write_file.wasm b/test/wasi/wasm/write_file.wasm
index 500405e0fb3..c21d0c2bfef 100755
--- a/test/wasi/wasm/write_file.wasm
+++ b/test/wasi/wasm/write_file.wasm
Binary files differ