1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

15 commits

Author SHA1 Message Date
nobu
aba879a3f0 * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
dispose temporary file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-17 22:34:07 +00:00
nobu
bc46dfd281 * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
fix for daemon process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-16 00:08:56 +00:00
naruse
179ab89278 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
2011-06-14 15:49:12 +00:00
nobu
7905fc1e54 * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
split for each platforms.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 04:07:03 +00:00
nobu
d4eae546c8 * test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
fix for Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 17:23:18 +00:00
nobu
73c6b9d453 * ext/io/console/console.c (console_dev): console should be
unbuffered.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 14:33:36 +00:00
nobu
a7b0b52f09 * ext/io/console/console.c (console_dev): take care of no-ctty
case.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 14:28:53 +00:00
nobu
7f46fadd9d * lib/test/unit.rb (assert_include): add alias.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 14:17:54 +00:00
kosaki
b9c0b5039c * test/io/console/test_io_console.rb: Don't run test if the system
don't support io/console.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-23 14:03:24 +00:00
shyouhei
045491d5be * test/io/console/test_io_console.rb (TestIO_Console::helper):
PTY.open is not guaranteed to work.  On my machine opening a
	  pty is prohibited via process control group.  On those cases
	  exceptions shall occur, and that doesn't mean our fault.
	  Skip those tests on such situations.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-17 07:52:21 +00:00
akr
4b31e99b8f portability fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 15:44:12 +00:00
akr
d24d2d3ca4 refine tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 14:29:26 +00:00
akr
2acc30eead add sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 16:14:15 +00:00
nobu
30f637024b * ext/io/console/console.c (get_write_fd): return primary fd if no
io is tied for writing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13 09:45:29 +00:00
akr
54c0e4b76e new test file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 14:15:30 +00:00