Fix wrong condition of skipping test_ioctl_linux
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
727c8cdfe7
commit
84fa14aab1
@ -2428,8 +2428,8 @@ End
|
|||||||
|
|
||||||
def test_ioctl_linux2
|
def test_ioctl_linux2
|
||||||
return if /linux/ !~ RUBY_PLATFORM
|
return if /linux/ !~ RUBY_PLATFORM
|
||||||
return if /^i?86|^x86_64/ !~ RUBY_PLATFORM
|
return if /^i.?86|^x86_64/ !~ RUBY_PLATFORM
|
||||||
return if File.exist?('/dev/tty')
|
return unless File.exist?('/dev/tty')
|
||||||
|
|
||||||
File.open('/dev/tty') { |f|
|
File.open('/dev/tty') { |f|
|
||||||
tiocgwinsz=0x5413
|
tiocgwinsz=0x5413
|
||||||
|
Loading…
x
Reference in New Issue
Block a user