summaryrefslogtreecommitdiff
path: root/test/io/console
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-14 15:49:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-14 15:49:12 +0000
commit179ab8927846f35cbaa614e3703404de7a4f8658 (patch)
treec05b8d009005982ba78ac085cc58ea347214299e /test/io/console
parent7d6fe4e604f05fda58a2af4f32a16e87f0c99d01 (diff)
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
Diffstat (limited to 'test/io/console')
-rw-r--r--test/io/console/test_io_console.rb1
1 files changed, 1 insertions, 0 deletions
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