ruby-changes:25105
From: naruse <ko1@a...>
Date: Fri, 12 Oct 2012 17:19:38 +0900 (JST)
Subject: [ruby-changes:25105] naruse:r37157 (trunk): Fix wrong condition of skipping test_ioctl_linux
naruse 2012-10-12 17:19:28 +0900 (Fri, 12 Oct 2012) New Revision: 37157 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37157 Log: Fix wrong condition of skipping test_ioctl_linux Modified files: trunk/test/ruby/test_io.rb Index: test/ruby/test_io.rb =================================================================== --- test/ruby/test_io.rb (revision 37156) +++ test/ruby/test_io.rb (revision 37157) @@ -2428,8 +2428,8 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/