| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9f798de commit 94f6d6b
16 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/cant_dotdot.wasm, see test/wasi/c/cant_dotdot.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['cant_dotdot']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,8 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/clock_getres.wasm, see test/wasi/c/clock_getres.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + // This test is currently unsupported on IBM i PASE | ||
| 8 | + testWasiPreview1(['clock_getres']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/fd_prestat_get_refresh.wasm, see test/wasi/c/fd_prestat_get_refresh.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['fd_prestat_get_refresh']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/ftruncate.wasm, see test/wasi/c/ftruncate.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['ftruncate']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/getentropy.wasm, see test/wasi/c/getentropy.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['getentropy']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/getrusage.wasm, see test/wasi/c/getrusage.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['getrusage']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/gettimeofday.wasm, see test/wasi/c/gettimeofday.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['gettimeofday']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/main_args.wasm, see test/wasi/c/main_args.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['main_args']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/notdir.wasm, see test/wasi/c/notdir.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['notdir']); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + 'use strict'; | ||
| 2 | + | ||
| 3 | + // Tests test/wasi/wasm/preopen_populates.wasm, see test/wasi/c/preopen_populates.c | ||
| 4 | + require('../common'); | ||
| 5 | + const { testWasiPreview1 } = require('../common/wasi'); | ||
| 6 | + | ||
| 7 | + testWasiPreview1(['preopen_populates']); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments