Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update macOS installer build for 2.7.18 end-of-life. (GH-19352) | Ned Deily | 2020-04-04 | 1 | -1/+5 |
| | |||||
* | bpo-18174: Fix file descriptor leaks in tests (GH-7408) | Victor Stinner | 2018-06-04 | 1 | -0/+1 |
| | | | | | | | | * test_tempfile.test_no_leak_fd() mocks os.close() but it doesn't call the original os.close() method and so leaks an open file descriptor. Fix the test by calling the original os.close() function. * test_posix.test_fdopen_directory(): close the directory file descriptor when the test completes. | ||||
* | [2.7] bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) (#2918) | Victor Stinner | 2017-07-27 | 1 | -0/+4 |
| | | | | | | | | | | | * bpo-31044: Skip test_posix.test_makedev() on FreeBSD (#2915) There is a bug in FreeBSD CURRENT with 64-bit dev_t. Skip the test if dev_t is larger than 32-bit, until the bug is fixed in FreeBSD CURRENT. (cherry picked from commit 12953ffe12ac781332b384c36b25d12216b1db62) * Fix syntax for Python 2.7 | ||||
* | [2.7] bpo-30746: Prohibited the '=' character in environment variable names ↵ | Serhiy Storchaka | 2017-06-25 | 1 | -0/+9 |
| | | | | | | | (GH-2382) (#2393) in `os.putenv()` and `os.spawn*()`.. (cherry picked from commit 77703942c5997dff00c48f10df1b29b11645624c) | ||||
* | Fixed a test for issue23908 with C locale. | Serhiy Storchaka | 2016-07-03 | 1 | -0/+4 |
| | |||||
* | Issue #23908: os functions, open() and the io.FileIO constructor now reject | Serhiy Storchaka | 2016-07-01 | 1 | -0/+38 |
| | | | | | unicode paths with embedded null character on Windows instead of silently truncate them. | ||||
* | Issue #23842: os.major(), os.minor() and os.makedev() now support ints again. | Serhiy Storchaka | 2015-04-20 | 1 | -0/+34 |
| | |||||
* | don't segfault when trying to fdopen() a fd for a dir (closes #22259) | Benjamin Peterson | 2014-08-24 | 1 | -0/+12 |
| | | | | Patch from Brian Kearns. | ||||
* | Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵ | Jesus Cea | 2014-06-28 | 1 | -1/+1 |
| | | | | (Solaris) | ||||
* | Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. | Ned Deily | 2014-06-25 | 1 | -1/+1 |
| | |||||
* | 'sunos' not 'solaris | Benjamin Peterson | 2014-05-17 | 1 | -1/+1 |
| | |||||
* | just skip this test on Solaris | Benjamin Peterson | 2014-05-17 | 1 | -5/+5 |
| | |||||
* | some platforms apparently don't care about fdopen'ing with a different mode | Benjamin Peterson | 2014-05-17 | 1 | -1/+5 |
| | |||||
* | when an exception is raised in fdopen, never close the fd (changing on my ↵ | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | | | | mind on #21191) | ||||
* | make sure fdopen always closes the fd in error cases (closes #21191) | Benjamin Peterson | 2014-04-09 | 1 | -0/+4 |
| | |||||
* | fix test_posix.test_initgroups to work without supplemental groups (closes ↵ | Benjamin Peterson | 2014-03-02 | 1 | -1/+1 |
| | | | | #20249) | ||||
* | Issue #19572: More silently skipped tests explicitly skipped. | Zachary Ware | 2013-12-10 | 1 | -6/+3 |
| | |||||
* | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -196/+219 |
| | |||||
* | Issue #17248: Fix os.*chown() testing when user is in root group. | Serhiy Storchaka | 2013-02-21 | 1 | -1/+1 |
| | |||||
* | Issue #17248: Fix os.*chown() testing when user has group root. | Serhiy Storchaka | 2013-02-20 | 1 | -2/+3 |
| | |||||
* | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. | Serhiy Storchaka | 2013-02-20 | 1 | -24/+42 |
| | |||||
* | Issue #4591: Uid and gid values larger than 2**31 are supported now. | Serhiy Storchaka | 2013-02-12 | 1 | -6/+23 |
| | |||||
* | Issue #16698: Skip posix test_getgroups when built with OS X | Ned Deily | 2013-02-02 | 1 | -0/+7 |
| | | | | deployment target prior to 10.6. | ||||
* | Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised. | Victor Stinner | 2012-12-04 | 1 | -3/+20 |
| | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. -- Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done! | ||||
* | Issue #15765: Fix quirky NetBSD getcwd() behaviour. | Trent Nelson | 2012-08-29 | 1 | -2/+10 |
| | | | | | This is done by extending a previous fix for issue #9185 that was made for Solaris and OpenBSD to NetBSD as well. | ||||
* | os.popen().close() returns None on success, not 0... | Charles-François Natali | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | Issue #14698: Make test_posix more robust when the current UID doesn't have an | Charles-François Natali | 2012-05-02 | 1 | -2/+7 |
| | | | | associated pwd entry. | ||||
* | Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can | Charles-François Natali | 2012-04-17 | 1 | -3/+9 |
| | | | | chown() to root under certain circumstances. | ||||
* | Issue #8746: Use tempfile module to get tempdir and randomize the | Ned Deily | 2011-07-26 | 1 | -1/+3 |
| | | | | link file name. | ||||
* | Issue #8746: Correct faulty configure checks so that os.chflags() and | Ned Deily | 2011-06-28 | 1 | -12/+48 |
| | | | | | | | 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) | ||||
* | Merged revisions 87958 via svnmerge from | Antoine Pitrou | 2011-01-12 | 1 | -1/+4 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87958 | antoine.pitrou | 2011-01-12 19:45:27 +0100 (mer., 12 janv. 2011) | 4 lines Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch by Ross Lagerwall. ........ | ||||
* | Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k | Antoine Pitrou | 2011-01-02 | 1 | -10/+16 |
| | | | | DeprecationWarning. | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -1/+1 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Merged revisions 84492 via svnmerge from | Antoine Pitrou | 2010-09-04 | 1 | -7/+1 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84492 | antoine.pitrou | 2010-09-04 19:32:06 +0200 (sam., 04 sept. 2010) | 4 lines Issue #9581: Fix non-working PosixGroupsTester test case (it only runs as root, which is why nobody bothered about the failure) ........ | ||||
* | Merged revisions 83431 via svnmerge from | Ronald Oussoren | 2010-08-03 | 1 | -4/+4 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83431 | ronald.oussoren | 2010-08-01 21:18:13 +0200 (Sun, 01 Aug 2010) | 6 lines test_getgroups as introduced with issue7900 failed on systems 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. ........ | ||||
* | Merged revisions 83133 via svnmerge from | Ronald Oussoren | 2010-07-24 | 1 | -1/+5 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines Fix for issue 9367: the test code for os.getgroups assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false. ........ | ||||
* | Merged revisions 83088 via svnmerge from | Ronald Oussoren | 2010-07-24 | 1 | -1/+52 |
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines This fixes issue7900 by adding code that deals with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional. ........ | ||||
* | Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely | Stefan Krah | 2010-07-13 | 1 | -1/+7 |
| | | | | if the path length exceeded PATH_MAX. | ||||
* | Revert temporary commit in r79937 | Antoine Pitrou | 2010-04-10 | 1 | -21/+3 |
| | |||||
* | Temporary commit of fix to issue #5380 (in order to watch buildbot response) | Antoine Pitrou | 2010-04-10 | 1 | -3/+21 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -2/+2 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | Fix possible integer overflow in lchown and fchown functions. For issue1747858. | Gregory P. Smith | 2009-12-23 | 1 | -25/+48 |
| | |||||
* | Issue #7333: The `posix` module gains an `initgroups()` function providing | Antoine Pitrou | 2009-12-02 | 1 | -0/+22 |
| | | | | | access to the initgroups(3) C library call on Unix systems which implement it. Patch by Jean-Paul Calderone. | ||||
* | Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. | Martin v. Löwis | 2009-11-27 | 1 | -0/+42 |
| | |||||
* | Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames | R. David Murray | 2009-07-09 | 1 | -2/+1 |
| | | | | | | | cleanup. If this fix works, it means that Solaris is unique among our platforms in what happens when shutil.rmtree is called on the current working directory (ie: it doesn't work on Solaris, but it does everywhere else). | ||||
* | Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see | R. David Murray | 2009-07-09 | 1 | -1/+2 |
| | | | | if the test gives useful failure info on Solaris buildbot. | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -12/+12 |
| | |||||
* | Restore skips of posix and pty tests on Windows by calling the | R. David Murray | 2009-04-21 | 1 | -1/+2 |
| | | | | | test_support.import_module on the appropriate modules before any other imports. | ||||
* | Add import_function method to test.test_support, and modify a number of | R. David Murray | 2009-03-30 | 1 | -4/+3 |
| | | | | | | | | tests that expect to be skipped if imports fail or functions don't exist to use import_function and import_module. The ultimate goal is to change regrtest to not skip automatically on ImportError. Checking in now to make sure the buldbots don't show any errors on platforms I can't direct test on. |