ruby-changes:20043
From: naruse <ko1@a...>
Date: Wed, 15 Jun 2011 00:49:31 +0900 (JST)
Subject: [ruby-changes:20043] naruse:r32089 (trunk): Skip test_sync when there is no tty or something.
naruse 2011-06-15 00:49:12 +0900 (Wed, 15 Jun 2011) New Revision: 32089 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32089 Log: Skip test_sync when there is no tty or something. Modified files: trunk/test/io/console/test_io_console.rb Index: test/io/console/test_io_console.rb =================================================================== --- test/io/console/test_io_console.rb (revision 32088) +++ test/io/console/test_io_console.rb (revision 32089) @@ -149,6 +149,7 @@ end def test_sync + skip "Can't get console (because of there is no tty?)" unless IO.console assert(helper {IO.console.sync}, "console should be unbuffered") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/