diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-12 08:19:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-12 08:19:28 +0000 |
commit | 84fa14aab12ef679ead8af2da2574db9b9a05c84 (patch) | |
tree | 2b34c0ece9e02b9a868c5d192d53ab604bd7fb4b | |
parent | 727c8cdfe7d5769d403f180b539e08e0f03eae2f (diff) | |
download | ruby-84fa14aab12ef679ead8af2da2574db9b9a05c84.tar.gz |
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
-rw-r--r-- | test/ruby/test_io.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index c70d972c74..130d6afe3e 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2428,8 +2428,8 @@ End def test_ioctl_linux2 return if /linux/ !~ RUBY_PLATFORM - return if /^i?86|^x86_64/ !~ RUBY_PLATFORM - return if File.exist?('/dev/tty') + return if /^i.?86|^x86_64/ !~ RUBY_PLATFORM + return unless File.exist?('/dev/tty') File.open('/dev/tty') { |f| tiocgwinsz=0x5413 |