summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) asGregory P. Smith2008-03-181-0/+28
| | | | | | | | | uid and gid input to accept values >=2**31 as valid while still accepting negative numbers to pass -1 to chown for "no change". Fixes issue1747858. This should be backported to release25-maint.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Patch #1490190: posixmodule now includes os.chflags() and os.lchflags()Martin v. Löwis2007-02-191-0/+12
| | | | functions on platforms where the underlying system calls are available.
* Correct implementation and documentation of os.confstr. Add a simple testSkip Montanaro2006-04-201-0/+5
| | | | case. I've yet to figure out how to provoke a None return I can test.
* Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in withSkip Montanaro2005-06-171-0/+31
| | | | posixmodule.c 2.335. Really should be considered part of patch #1103951.
* Try to improve test coverage for utime()Neal Norwitz2004-06-061-0/+4
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-20/+18
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Fix SF bug #697556, test_posix fails: getloginNeal Norwitz2003-03-181-6/+0
| | | | getlogin() can fail for too many reasons, so remove the test
* Fix SF bug #690081, test_posix fails when run in non-interactive modeNeal Norwitz2003-02-231-1/+8
| | | | | Don't bother testing os.getlogin() if we aren't running from a tty (terminal) It fails when run without a tty (e.g., when run from cron).
* Make changes suggested by Walter to use self.assert*() methods.Neal Norwitz2003-02-171-26/+14
|
* test_posix is an expected skip on Win32. Also fixed test_posix toTim Peters2003-02-171-1/+1
| | | | import from test.test_support instead of directly from test_support.
* Added test_posix (hopefully it works on Windows).Neal Norwitz2003-02-171-0/+172
Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead