8000 mkfifo and mknod aren't working either · python/cpython@61c6f26 · GitHub
[go: up one dir, main page]

Skip to content

Commit 61c6f26

Browse files
committed
mkfifo and mknod aren't working either
1 parent 1f769f6 commit 61c6f26

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Lib/test/test_os.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2170,7 +2170,8 @@ def test_fchown(self):
21702170

21712171
@unittest.skipUnless(hasattr(os, 'fpathconf'), 'test needs os.fpathconf()')
21722172
@unittest.skipIf(
2173-
support.is_emscripten, "musl libc issue on Emscripten, bpo-46390"
2173+
support.is_emscripten or support.is_wasi,
2174+
"musl libc issue on Emscripten/WASI, bpo-46390"
21742175
)
21752176
def test_fpathconf(self):
21762177
self.check(os.pathconf, "PC_NAME_MAX")

Tools/wasm/config.site-wasm32-wasi

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@ ac_cv_header_sys_resource_h=no
1818
# undefined symbols / unsupported features
1919
ac_cv_func_eventfd=no
2020

21-
# WASI SDK 15.0 has no pipe syscall
21+
# WASI SDK 15.0 has no pipe syscall.
2222
ac_cv_func_pipe=no
2323

24-
# fdopendir() fails on SDK 15.0
24+
# WASI SDK 15.0 cannot create fifos and special files.
25+
ac_cv_func_mkfifo=no
26+
ac_cv_func_mkfifoat=no
27+
ac_cv_func_mknod=no
28+
ac_cv_func_mknodat=no
29+
30+
# fdopendir() fails on SDK 15.0,
2531
# OSError: [Errno 28] Invalid argument: '.'
2632
ac_cv_func_fdopendir=no
2733

0 commit comments

Comments
 (0)
0