summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ioctl.py
Commit message (Collapse)AuthorAgeFilesLines
* 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!).