mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-100005: Skip test_script_as_dev_fd() on FreeBSD (#100006)
On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd).
This commit is contained in:
parent
e3a3863cb9
commit
038b151963
2 changed files with 4 additions and 1 deletions
|
@ -2832,7 +2832,7 @@ class POSIXProcessTestCase(BaseTestCase):
|
|||
|
||||
@unittest.skipIf(sys.platform.startswith("freebsd") and
|
||||
os.stat("/dev").st_dev == os.stat("/dev/fd").st_dev,
|
||||
"Requires fdescfs mounted on /dev/fd on FreeBSD.")
|
||||
"Requires fdescfs mounted on /dev/fd on FreeBSD")
|
||||
def test_close_fds_when_max_fd_is_lowered(self):
|
||||
"""Confirm that issue21618 is fixed (may fail under valgrind)."""
|
||||
fd_status = support.findfile("fd_status.py", subdir="subprocessdata")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue