aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pty.rb
Commit message (Collapse)AuthorAgeFilesLines
* * test/test_pty.rb (TestPTY::test_getpty_nonexistent): ditto.shyouhei2010-09-241-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_pty.rb: Same as 229281; existence of PTY class do notshyouhei2010-09-241-0/+26
| | | | | | | guarantee a successful pty operation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (chfunc): restore errno from SystemCallError andnobu2010-09-021-0/+8
| | | | | | propagate proper exception to the parent. [ruby-dev:41965] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2010-03-111-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (getDevice): add nomesg argument.akr2008-12-161-13/+1
| | | | | | | | | | | (get_device_once): add nomesg argument. chmod slave tty to 0600 if nomesg. more error tests. (no_mesg): new function. (pty_open): make slave tty's mode 0600. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/extconf.rb: check posix_openpt.akr2008-12-161-0/+19
| | | | | | | | * ext/pty/pty.c (get_device_once): use posix_openpt if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-12-151-0/+60
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (get_device_once): use DEVICELEN instead ofakr2008-12-151-4/+0
| | | | | | | | sizeof SlaveName. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new file.akr2008-12-141-0/+46
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e