mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Run the test only if /dev/tty exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d11b9e289
commit
5fa2d2b793
1 changed files with 1 additions and 0 deletions
|
@ -2126,6 +2126,7 @@ End
|
|||
def test_ioctl_linux2
|
||||
return if /linux/ !~ RUBY_PLATFORM
|
||||
return if /^i?86|^x86_64/ !~ RUBY_PLATFORM
|
||||
return if File.exist?('/dev/tty')
|
||||
|
||||
File.open('/dev/tty') { |f|
|
||||
tiocgwinsz=0x5413
|
||||
|
|
Loading…
Add table
Reference in a new issue