diff options
Diffstat (limited to 'test/io')
-rw-r--r-- | test/io/console/test_io_console.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index a73fe69576..233f57bee7 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -155,6 +155,9 @@ class TestIO_Console < Test::Unit::TestCase else def test_sync r, w, pid = PTY.spawn(EnvUtil.rubybin, "-rio/console", "-e", "p IO.console.class") + rescue RuntimeError + skip $! + else con = r.gets.chomp Process.wait(pid) assert_match("File", con) |