|
| 1 | +# this implementation doesn't give any special meanings to |
| 2 | +# the trailing slashes in pathnames. |
| 3 | +# (just leave it to the underlying OS) |
| 4 | +# XXX does WASI require either ways? |
| 5 | + |
| 6 | +# 5: === path_rename_file_trailing_slashes.wasm |
| 7 | +# 5: thread 'main' panicked at 'expected errno NOTDIR; got NOENT', src/bin/path_rename_file_trailing_slashes.rs:18:5 |
| 8 | + |
| 9 | +path_rename_file_trailing_slashes |
| 10 | + |
| 11 | +# NetBSD uses EFTYPE instead of ELOOP in some cases. |
| 12 | +# |
| 13 | +# https://man.netbsd.org/open.2 |
| 14 | +# > [EFTYPE] O_NOFOLLOW was specified, but the last path component |
| 15 | +# > is a symlink. Note: IEEE Std 1003.1-2008 ("POSIX.1") |
| 16 | +# > specifies returning [ELOOP] for this case. |
| 17 | +# (79 is EFTYPE) |
| 18 | +# |
| 19 | +# 5: === nofollow_errors.wasm |
| 20 | +# 5: 2022-12-30 11:47:47 (1672368467.416859115): [76df8d10f800] Converting unimplemnetd errno: 79 |
| 21 | +# 5: thread 'main' panicked at 'expected errno LOOP or NOTDIR; got IO', src/bin/nofollow_errors.rs:13:5 |
| 22 | + |
| 23 | +nofollow_errors |
| 24 | + |
| 25 | +# NetBSD FFS doesn't implement VOP_FALLOCATE. |
| 26 | +# (45 is ENOTSUP) |
| 27 | +# |
| 28 | +# 5: === file_allocate.wasm |
| 29 | +# 5: 2022-12-30 11:47:47 (1672368467.311029146): [708781451800] Converting unimplemnetd errno: 45 |
| 30 | +# 5: thread 'main' panicked at 'allocating size: Error { code: 29, name: "IO", message: "I/O error." }', src/bin/file_allocate.rs:32:44 |
| 31 | + |
| 32 | +file_allocate |
| 33 | + |
| 34 | +# NetBSD FFS doesn't implement VOP_FALLOCATE. |
| 35 | +# (45 is ENOTSUP) |
| 36 | +# |
| 37 | +# 5: === fd_advise.wasm |
| 38 | +# 5: 2022-12-30 11:47:46 (1672368466.795305065): [726a6b4f9800] Converting unimplemnetd errno: 45 |
| 39 | +# 5: thread 'main' panicked at 'allocating size: Error { code: 29, name: "IO", message: "I/O error." }', src/bin/fd_advise.rs:47:46 |
| 40 | + |
| 41 | +fd_advise |
| 42 | + |
| 43 | +# NetBSD uses EFTYPE instead of ELOOP in some cases. |
| 44 | +# |
| 45 | +# https://man.netbsd.org/open.2 |
| 46 | +# > [EFTYPE] O_NOFOLLOW was specified, but the last path component |
| 47 | +# > is a symlink. Note: IEEE Std 1003.1-2008 ("POSIX.1") |
| 48 | +# > specifies returning [ELOOP] for this case. |
| 49 | +# (79 is EFTYPE) |
| 50 | +# |
| 51 | +# 5: === dangling_symlink.wasm |
| 52 | +# 5: 2022-12-30 11:47:46 (1672368466.764401693): [7157573b0800] Converting unimplemnetd errno: 79 |
| 53 | +# 5: thread 'main' panicked at 'expected errno NOTDIR or LOOP; got IO', src/bin/dangling_symlink.rs:10:9 |
| 54 | + |
| 55 | +dangling_symlink |
| 56 | + |
| 57 | +# NetBSD uses EFTYPE instead of ELOOP in some cases. |
| 58 | +# |
| 59 | +# https://man.netbsd.org/open.2 |
| 60 | +# > [EFTYPE] O_NOFOLLOW was specified, but the last path component |
| 61 | +# > is a symlink. Note: IEEE Std 1003.1-2008 ("POSIX.1") |
| 62 | +# > specifies returning [ELOOP] for this case. |
| 63 | +# (79 is EFTYPE) |
| 64 | +# |
| 65 | +# 5: === symlink_loop.wasm |
| 66 | +# 5: 2022-12-30 11:47:47 (1672368467.992673001): [7e962589b800] Converting unimplemnetd errno: 79 |
| 67 | +# 5: thread 'main' panicked at 'expected errno LOOP; got IO', src/bin/symlink_loop.rs:10:9 |
| 68 | + |
| 69 | +symlink_loop |
0 commit comments