usa
69dcd16351
* test/io/wait/test_io_wait.rb (TestIOWait#{test_nread,test_ready?,
...
test_wait}: give system some time to process the written data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31 03:54:58 +00:00
kosaki
f23fa4b011
* test/io/wait/test_io_wait.rb: Linux socketpair(2) only support
...
AF_UNIX, but windows socketpair doesn't support it. we can't
avoid platform check. sigh!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-07 20:21:38 +00:00
kosaki
16846eb90c
* test/io/wait/test_io_wait.rb: use Socket.pair instaed of pipe.
...
Windows can only treat a socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-07 15:17:22 +00:00
kosaki
70e9201610
* test/io/wait/test_io_wait.rb: skip tests if the platform is
...
mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-07 14:57:38 +00:00
kosaki
e140be6956
fix commit mistake of r31389.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30 16:02:11 +00:00
nobu
afafb8c055
* test/io/nonblock/test_flush.rb (TestIONonblock#flush_test):
...
return true to finish the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:48 +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
188881b2a8
* test/io/nonblock/test_flush.rb (test_flush): try pipe and
...
socketpair. [ruby-dev:41517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 04:05:20 +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
kazu
81577c26ee
* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush):
...
rescue some exceptions. [ruby-dev:35638]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-05 09:04:13 +00:00
akr
786e7aba7f
* test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.
...
* test/net/imap/test_imap.rb: ensure disconnecting imap to terminate
receiver thread..
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-05 17:18:09 +00:00
akr
e282fc4c06
timeout larger area.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30 12:42:20 +00:00
akr
77dece6e63
use timeout for thread join to avoid hang.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29 18:39:43 +00:00
ko1
9c09689301
* test/io/nonblock/test_flush.rb: fix test for 1.9.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 11:30:29 +00:00
akr
68543f3092
use ML ref. for assertion message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18 07:18:56 +00:00
ko1
db95cb49af
* test/io/nonblock/test_flush.rb: YARV doesn't raise any errors if
...
another thread close IO object which current thread is blocking with.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-20 06:11:37 +00:00
ko1
a8d47615da
* test/fileutils/test_fileutils.rb (check_singleton): fix to use
...
symbole instead of string.
* test/io/nonblock/test_flush.rb: enable tests.
* test/xmlrpc/test_webrick_server.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-14 16:53:00 +00:00
ko1
a3e1b1ce7e
* Merge YARV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00
nobu
807a93be08
* test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write
...
operation ignores EAGAIN.
* test/ruby/test_super.rb (TestSuper#test_define_method): test for
super from proc. [ruby-core:03856]
* test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): make
execution order more precise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-07 18:26:12 +00:00
nobu
37eb7502db
* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
...
not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:22:42 +00:00
nobu
6e22160537
* test/io/nonblock/test_flush.rb: test transferred data.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 05:21:47 +00:00
nobu
e73b5c9bfc
* io.c (fptr_finalize): must not use FILE after fclose().
...
[ruby-dev:24985]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 05:00:46 +00:00