-
-
Notifications
You must be signed in to change notification settings - Fork 36.7k
pipe test failures on some Linux configurations #95672
Copy link
Copy link
Closed
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
Metadata
Metadata
Assignees
Labels
3.10only security fixesonly security fixes3.11only security fixesonly security fixes3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
On Linux systems, when configured with a default pipe capacity of 4096, the following test fail:
From a recent
fcntl(2)Linux man page:There's a check that attempts to skip the tests if the pipe capacity is 512 bytes, but that's less than the smallest page size on x86.
Since this feature appears to be Linux specific, the check should:
os.sysconf('SC_PAGESIZE')as a minimumLinked PRs