summaryrefslogtreecommitdiff
path: root/Lib/test/test_ioctl.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-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 84589 via svnmerge fromAntoine Pitrou2010-09-071-5/+26
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84589 | antoine.pitrou | 2010-09-07 18:30:09 +0200 (mar., 07 sept. 2010) | 5 lines Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True, and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil. ........
* Merged revisions 83833,83838-83839,83859,83878 via svnmerge fromFlorent Xicluna2010-08-091-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83859 | florent.xicluna | 2010-08-09 00:07:16 +0200 (lun., 09 août 2010) | 2 lines Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........
* use assert[Not]In where appropriateEzio Melotti2010-01-231-2/+2
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* Change more tests to use import_module for the modules thatR. David Murray2009-03-301-7/+4
| | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring.
* fix incorrect auto-translation of TestSkipped -> unittest.SkipTestBenjamin Peterson2009-03-261-5/+5
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-5/+5
|
* Don't try to get the window size if it was never set before.Martin v. Löwis2008-05-241-3/+0
| | | | Fixes the test failure on Solaris.
* Attempt to fix the Solaris Sparc 10 buildbot. It was failing with an invalidGregory P. Smith2008-03-201-0/+29
| | | | | | | | argument error on ioctl. This was caused by the added test_fcntl ioctl test that hard coded 0 as the fd to use. Without a terminal, this fails on solaris. (it passed from the command line on sol 10, both 32 and 64 bit) Also, test_ioctl exists so I moved the test into there where it belongs.
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-141-5/+9
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* Skip the ioctl test if we can't open /dev/tty. This happens onNeal Norwitz2003-03-201-0/+6
| | | | | Solaris (and probably other Unixes) when run without a terminal (eg, from cron or at).
* Fix bugMichael W. Hudson2003-03-031-0/+31
[ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!).