diff options
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 01b3e681e5..0c89738d4a 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -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 |