Skip to content

Commit 595781e

Browse files
committed
gh-127146: Emscripten: Set umask to zero in python.sh
We think this will fix `test_apropos_empty_doc`.
1 parent 8e2f4b4 commit 595781e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tools/wasm/emscripten/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ def configure_emscripten_python(context, working_dir):
263263
REALPATH=abs_path
264264
fi
265265
266+
# Set umask to 0. The buildbot seems to run sometimes with a umask
267+
# of 0o077 which causes one test to fail.
268+
umask 0
269+
266270
# We compute our own path, not following symlinks and pass it in so that
267271
# node_entry.mjs can set sys.executable correctly.
268272
# Intentionally allow word splitting on NODEFLAGS.

0 commit comments

Comments
 (0)