-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newly added test_cmd_line_script.test_script_as_dev_fd() fails on FreeBSD: /dev/fd/3 doesn't exist #100005
Labels
type-bug
An unexpected behavior, bug, or error
Comments
This was referenced Dec 5, 2022
vstinner
added a commit
that referenced
this issue
Dec 5, 2022
On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd).
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 5, 2022
…0006) On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd). (cherry picked from commit 038b151) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
added a commit
that referenced
this issue
Dec 5, 2022
On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd). (cherry picked from commit 038b151) Co-authored-by: Victor Stinner <[email protected]>
Fixed by 038b151 |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 8, 2024
…0006) On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd). (cherry picked from commit 038b151) Co-authored-by: Victor Stinner <[email protected]>
pablogsal
pushed a commit
that referenced
this issue
Oct 22, 2024
…#125109) gh-100005: Skip test_script_as_dev_fd() on FreeBSD (GH-100006) On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if fdescfs is not mounted (at /dev/fd). (cherry picked from commit 038b151) Co-authored-by: Victor Stinner <[email protected]> Co-authored-by: Petr Viktorin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I propose to skip test_cmd_line_script.test_script_as_dev_fd() on FreeBSD. Here is why.
cc @Jehops @emaste @koobs
The test added by PR #99768 fails on FreeBSD. test_cmd_line_script.test_script_as_dev_fd() fails with:
Note: Failure first reported in issue #99985.
FreeBSD /dev/fd/ behaves differently than Linux /dev/fd/. I'm not sure why. If the parent opens a file and the file descriptor is inherited, the child process can open the file, but /dev/fd/ only contains file descriptors 0, 1, 2. Example:
parent.py:
Child process:
Linked PRs
The text was updated successfully, but these errors were encountered: