ruby-changes:57886
From: Nobuyoshi <ko1@a...>
Date: Wed, 25 Sep 2019 08:24:41 +0900 (JST)
Subject: [ruby-changes:57886] 5294ded681 (master): [ruby/io-console] Skip cursor position test on Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=5294ded681 From 5294ded681992ced2ecbd31c814b63265d2f591e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 25 Sep 2019 08:23:18 +0900 Subject: [ruby/io-console] Skip cursor position test on Solaris It results in a mysterious failure. https://github.com/ruby/io-console/commit/e3543c3da4 diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index c81d80f..c51c9da 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -282,6 +282,7 @@ defined?(PTY) and defined?(IO.console) and TestIO_Console.class_eval do https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L282 end def test_cursor_position + skip if /solaris/ =~ RUBY_PLATFORM run_pty("#{<<~"begin;"}\n#{<<~'end;'}") do |r, w, _| begin; con = IO.console -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/