summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #17248: Fix os.*chown() testing when user is in root group.Serhiy Storchaka2013-02-211-1/+1
|\
| * Issue #17248: Fix os.*chown() testing when user is in root group.Serhiy Storchaka2013-02-211-1/+1
| |
* | Issue #17248: Fix os.*chown() testing when user has group root.Serhiy Storchaka2013-02-201-2/+3
|\ \ | |/
| * Issue #17248: Fix os.*chown() testing when user has group root.Serhiy Storchaka2013-02-201-2/+3
| |
* | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.Serhiy Storchaka2013-02-201-24/+42
|\ \ | |/
| * Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.Serhiy Storchaka2013-02-201-24/+42
| |
| * Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-121-6/+23
| |
* | Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-101-6/+23
| |
* | Issue #16698: merge from 3.2Ned Deily2013-02-021-0/+7
|\ \ | |/
| * Issue #16698: Skip posix test_getgroups when built with OS XNed Deily2013-02-021-0/+7
| | | | | | | | deployment target prior to 10.6.
* | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+5
|\ \ | |/ | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | Fix test_posix failure on NetBSD buildbots: sched_setparam() andCharles-François Natali2013-01-131-10/+10
| | | | | | | | | | sched_setscheduler() can fail with EINVAL if the process scheduling policy is neither SCHED_FIFO nor SCHED_RR.
* | Issue #15972: Fix error messages when os functions expecting a file name orSerhiy Storchaka2013-01-071-0/+24
| | | | | | | | file descriptor receive the incorrect type.
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-2/+2
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Trent Nelson2012-08-211-3/+20
| | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
* | Issue #16661: Fix the os.getgrouplist() test by not assuming that itRoss Lagerwall2012-12-131-10/+3
| | | | | | | | gives the same output as "id -G".
* | compare singletons by identity not equality (closes #16712)Benjamin Peterson2012-10-091-2/+2
| | | | | | | | Patch from Serhiy Storchaka.
* | Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Trent Nelson2012-08-211-3/+20
| | | | | | | | | | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. (Note: this commit is a manual merge of 78699:019a2390b014 as both _test_chflags_regular_file and test_lchflags_symlink differ between 3.2 and default.)
* | Issue #12655: Instead of requiring a custom type, os.sched_getaffinity andAntoine Pitrou2012-08-041-76/+21
| | | | | | | | | | os.sched_setaffinity now use regular sets of integers to represent the CPUs a process is restricted to.
* | Closes #15514: Correct __sizeof__ support for cpu_setJesus Cea2012-08-031-0/+6
| |
* | Cope with OSs lying - #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-07-071-8/+12
| |
* | Use ValueError, not RuntimeError for a utime flag combination illegal on ↵Georg Brandl2012-06-261-1/+1
| | | | | | | | some systems.
* | Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support ↵Jesus Cea2012-06-251-1/+1
| | | | | | | | for SEEK_HOLE/SEEK_DATA
* | Issue #15176: Clarified behavior, documentation, and implementationLarry Hastings2012-06-251-8/+13
| | | | | | | | of os.listdir().
* | Fix whitespaceHynek Schlawack2012-06-241-3/+3
| |
* | Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support ↵Jesus Cea2012-06-231-2/+2
| | | | | | | | for SEEK_HOLE/SEEK_DATA
* | Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-231-0/+3
| |
* | Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)Larry Hastings2012-06-231-1/+6
| |
* | Issue #14626: Large refactoring of functions / parameters in the os module.Larry Hastings2012-06-221-117/+107
| | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings.
* | Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-221-0/+20
| |
* | 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
| |