mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Remove plenty of makefile misconfigurations
This commit is contained in:
parent
9172fd42a0
commit
8b469389f6
186 changed files with 1408 additions and 901 deletions
|
@ -1049,7 +1049,7 @@ def temp_cwd(name='tempcwd', quiet=False):
|
|||
only a warning is raised and the original CWD is used.
|
||||
|
||||
"""
|
||||
with temp_dir(path=name, quiet=quiet) as temp_path:
|
||||
with temp_dir(quiet=quiet) as temp_path:
|
||||
with change_cwd(temp_path, quiet=quiet) as cwd_dir:
|
||||
yield cwd_dir
|
||||
|
||||
|
|
5
third_party/python/Lib/test/test_tarfile.py
vendored
5
third_party/python/Lib/test/test_tarfile.py
vendored
|
@ -2607,8 +2607,9 @@ class NumericOwnerTest(unittest.TestCase):
|
|||
# because the uname and gname in the test file are 'root', and extract()
|
||||
# will look them up using pwd and grp to find their uid and gid, which we
|
||||
# test here to be 0.
|
||||
@unittest.skipUnless(root_is_uid_gid_0(),
|
||||
'uid=0,gid=0 must be named "root"')
|
||||
# [jart] tests shouldn't read /etc/passwd lool
|
||||
# @unittest.skipUnless(root_is_uid_gid_0(),
|
||||
# 'uid=0,gid=0 must be named "root"')
|
||||
@unittest.mock.patch('os.chown')
|
||||
@unittest.mock.patch('os.chmod')
|
||||
@unittest.mock.patch('os.geteuid')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue