From 179ab8927846f35cbaa614e3703404de7a4f8658 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 14 Jun 2011 15:49:12 +0000 Subject: Skip test_sync when there is no tty or something. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/io/console/test_io_console.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/io/console/test_io_console.rb') diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index e273a0fe8f..594553bbe6 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -149,6 +149,7 @@ class TestIO_Console < Test::Unit::TestCase 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 -- cgit v1.2.3