ruby-changes:20748
From: shyouhei <ko1@a...>
Date: Mon, 1 Aug 2011 15:36:18 +0900 (JST)
Subject: [ruby-changes:20748] shyouhei:r32796 (trunk): * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
shyouhei 2011-08-01 15:36:09 +0900 (Mon, 01 Aug 2011) New Revision: 32796 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32796 Log: * test/io/console/test_io_console.rb (TestIO_Console#test_sync): Skip when PTY allocation failed (that's not our failt). Modified files: trunk/ChangeLog trunk/test/io/console/test_io_console.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 32795) +++ ChangeLog (revision 32796) @@ -1,3 +1,8 @@ +Mon Aug 1 15:31:14 2011 URABE Shyouhei <shyouhei@r...> + + * test/io/console/test_io_console.rb (TestIO_Console#test_sync): + Skip when PTY allocation failed (that's not our failt). + Mon Aug 1 15:04:12 2011 URABE Shyouhei <shyouhei@r...> * test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server): Index: test/io/console/test_io_console.rb =================================================================== --- test/io/console/test_io_console.rb (revision 32795) +++ test/io/console/test_io_console.rb (revision 32796) @@ -155,6 +155,9 @@ 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/