summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
Commit message (Collapse)AuthorAgeFilesLines
* os.popen().close() returns None on success, not 0...Charles-François Natali2012-05-021-2/+2
|\
| * os.popen().close() returns None on success, not 0...Charles-François Natali2012-05-021-1/+1
| |
* | Issue #14698: Make test_posix more robust when the current UID doesn't have anCharles-François Natali2012-05-021-3/+9
|\ \ | |/ | | | | associated pwd entry.
| * Issue #14698: Make test_posix more robust when the current UID doesn't have anCharles-François Natali2012-05-021-2/+7
| | | | | | | | associated pwd entry.
* | Backing out 86dc014cdd74. Not ready yetJesus Cea2012-04-261-20/+0
| |
* | Close #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-04-261-0/+20
| |
* | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users canCharles-François Natali2012-04-171-2/+9
|\ \ | |/ | | | | chown() to root under certain circumstances.
| * Issue #5113: Fix a test_posix failure on HP-UX, where non-root users canCharles-François Natali2012-04-171-2/+9
| | | | | | | | chown() to root under certain circumstances.
* | Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), toCharles-François Natali2012-02-061-4/+4
| | | | | | | | | | be consistent with other functions accepting file descriptors (fdlistdir() was added in 3.3, so hasn't been released yet).
* | Issue #13757: Change os.fdlistdir() so that it duplicates the passed fileCharles-François Natali2012-01-101-8/+2
| | | | | | | | descriptor (instead of closing it).
* | Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()Charles-François Natali2012-01-081-2/+10
| | | | | | | | can be called again on the same open file).
* | Merge 3.2, fix typos.Florent Xicluna2011-11-111-1/+1
|\ \ | |/
* | Fix #13327. utimensat now has the atime and mtime arguments set as optional,Brian Curtin2011-11-071-0/+5
| | | | | | | | | | | | | | defaulting to None like the other utimes family members. It now accepts keyword arguments because, unlike other other functions in the family, it has a `flags` value at the end of the argument list (which retains its 0 default).
* | Fix 13327. Remove explicit None arguments from futimes, futimens, futimesat,Brian Curtin2011-11-071-0/+4
| | | | | | | | and lutimes.
* | Issue #13226: Add RTLD_xxx constants to the os module. These constants can byVictor Stinner2011-10-251-0/+7
| | | | | | | | used with sys.setdlopenflags().
* | Better fix for #12763: test_posix failure on OpenIndianaJesus Cea2011-09-091-3/+3
| |
* | Issue #12871: sched_get_priority_(min|max) might not be defined even thoughCharles-François Natali2011-09-061-0/+2
| | | | | | | | | | <sched.h> is available (most notably on OpenBSD when built without pthread): add an explicit configure check.
* | Issue #12783: Fix test_posix failures on FreeBSD buildbots, due toCharles-François Natali2011-08-211-2/+8
| | | | | | | | | | sched_setparam() returning EINVAL for processes with SCHED_OTHER scheduling policy.
* | some *nixes decided not to call init process 1 (closes #12763)Benjamin Peterson2011-08-161-1/+1
| |
* | handle sched_rr_get_interval not working on currentBenjamin Peterson2011-08-031-1/+8
| |
* | fix punctuationBenjamin Peterson2011-08-031-1/+1
| |
* | fix indentationBenjamin Peterson2011-08-031-2/+2
| |
* | OSX doesn't check sched_get_priority_(min/max) argumentBenjamin Peterson2011-08-031-2/+4
| |
* | bsd doesn't like letting normal processes set the schedulerBenjamin Peterson2011-08-021-1/+5
| |
* | check individually for some for sched_ functionsBenjamin Peterson2011-08-021-2/+2
| |
* | sched.h can exist without sched affinity supportBenjamin Peterson2011-08-021-4/+6
| |
* | expose sched.h functions (closes #12655)Benjamin Peterson2011-08-021-1/+132
| |
* | Issue #8746: Use tempfile module to get tempdir and randomize theNed Deily2011-07-261-1/+3
|\ \ | |/ | | | | link file name.
| * Issue #8746: Use tempfile module to get tempdir and randomize theNed Deily2011-07-261-1/+3
| | | | | | | | link file name.
* | Issue #12451: Add support.create_empty_file()Victor Stinner2011-06-301-4/+4
| | | | | | | | | | | | | | We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
* | Issue #8746: Correct faulty configure checks so that os.chflags() andNed Deily2011-06-281-12/+47
|\ \ | |/ | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
| * Issue #8746: Correct faulty configure checks so that os.chflags() andNed Deily2011-06-281-12/+47
| | | | | | | | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
* | Issue #9344: Add os.getgrouplist().Ross Lagerwall2011-06-101-0/+15
| |
* | Issue #12196: Make os.pipe2() flags argument mandatory.Charles-François Natali2011-06-061-2/+2
| |
* | Issue #12196: Make test.support's requires_linux_version a decorator.Charles-François Natali2011-06-031-8/+2
| |
* | Skip test_pipe2 on Linux kernels older than 2.6.27.Charles-François Natali2011-05-291-0/+4
| |
* | Issue #12196: Add pipe2() to the os module.Charles-François Natali2011-05-291-0/+25
| |
* | Issue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23Victor Stinner2011-05-231-2/+5
| |
* | Issue #12105: test_posix, add the value of O_CLOEXEC in the error messageVictor Stinner2011-05-231-1/+2
| |
* | Issue #12105: Add O_CLOEXEC to the os module.Charles-François Natali2011-05-221-0/+7
| |
* | Call reap_children() at the end of test_posixAntoine Pitrou2011-03-201-1/+4
| |
* | Issue #11615: Fix sporadic buildbot failures related to #10812.Ross Lagerwall2011-03-201-2/+2
| |
* | Issue #10812: Add some extra posix functions to the os module.Ross Lagerwall2011-03-171-1/+151
| |
* | Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall.Antoine Pitrou2011-02-251-0/+12
| |
* | Issue #4761: Add the *at() family of functions (openat(), etc.) to the posixAntoine Pitrou2011-02-251-0/+192
|/ | | | module. Patch by Ross Lagerwall.
* Issue #10822: Fix test_posix:test_getgroups failure under Solaris. PatchAntoine Pitrou2011-01-121-1/+4
| | | | by Ross Lagerwall.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-1/+1
|
* Issue #9581: Fix non-working PosixGroupsTester test caseAntoine Pitrou2010-09-041-8/+2
| | | | (it only runs as root, which is why nobody bothered about the failure)
* add tests for mknod() and mkfifo() #9569Benjamin Peterson2010-08-171-0/+23
|
* test_getgroups as introduced with issue7900 failed on systemsRonald Oussoren2010-08-011-4/+4
| | | | | | where 'id -G' and posix.getgroups() returned the same information, but one of the sources contains duplicate information. Rewrite the check using sets instead of lists.