1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
gotoyuzo 24cb3707eb * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,
ossl_ssl_write):
  - need to set errno on Win32 platform.
  - should call rb_sys_fail instead of rasing SSLError if
    SSL_ERROR_SYSCALL occured.
  - should wait for that the underlying IO become readable or
    writable if the error was SSL_ERROR_WANT_READ or
    SSL_ERROR_WANT_WRITE. [ruby-dev:25795]

* ext/openssl/lib/openssl/buffering.rb
  (Buffering#initialize): should set @eof and @rbuffer.
  (Buffering#fill_rbuff): should rescue Errno::EAGAIN.
  (Buffering#consume_rbuf): pointless eof flag resetting is deleted.
  (Buffering#read): should return an empty string if the specified
  size is zero.
  (Buffering#readpartial): new method.
  (Buffering#readline): fix typo.
  (Buffering#getc): return the first character of string correctly.
  (Buffering#each): fix typo.  suggested by Brian Ollenberger.
  (Buffering#readchar): fix typo.
  (Buffering#eof?): should read again it the input buffer is empty.
  (Buffering#do_write): should rescue Errno::EAGAIN.
  (Buffering#puts): use "\n" as the output field separator.

* ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
  underlying IO.

* ext/openssl/extconf.rb: get rid of GNUmakefile generation.

* text/openssl/test_pair.rb: test for IO like methods.

* test/ruby/ut_eof.rb: test about empty file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07 12:10:03 +00:00
..
beginmainend.rb * object.c (convert_type): [ruby-core:03845] 2004-11-29 06:13:52 +00:00
endblockwarn.rb * test/ruby/test_beginendblock.rb, test/ruby/endblockwarn.rb: commited older 2003-10-07 06:32:18 +00:00
envutil.rb * test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"], 2003-10-13 14:59:25 +00:00
marshaltestlib.rb This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2004-02-17 14:51:40 +00:00
test_alias.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_array.rb * test/ruby/test_array.rb: use local variables instead of a global 2004-06-16 09:20:36 +00:00
test_assignment.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_beginendblock.rb * ext/stringio/stringio.c (strio_read): follow IO#read. 2003-12-05 02:54:48 +00:00
test_bignum.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_call.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_case.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_clone.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_condition.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_const.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_defined.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_env.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_eval.rb copy test/zlib/test_zlib.rb from trunk. 2004-09-07 05:34:14 +00:00
test_exception.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_file.rb * test/ruby/test_file.rb (test_truncate_wbuf): we want to test 2004-11-11 07:52:25 +00:00
test_float.rb * util.c (ruby_strtod): should not convert string in the form of 2004-07-14 03:32:20 +00:00
test_gc.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_hash.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_ifunless.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_io.rb This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2004-10-09 11:53:17 +00:00
test_iterator.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_marshal.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_math.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_pack.rb backport from 1.9 2004-11-13 14:07:13 +00:00
test_path.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_pipe.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_proc.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_rand.rb add test_rand_0x100000000. 2005-02-07 16:11:14 +00:00
test_range.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_readpartial.rb * io.c (io_fread): warn nonblocking behavior. 2005-01-08 18:17:13 +00:00
test_settracefunc.rb Wed Nov 17 23:42:40 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 2004-11-17 14:49:07 +00:00
test_signal.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_string.rb test String#sum for bits=0..7. 2004-10-03 06:09:54 +00:00
test_stringchar.rb * test/ruby/test_stringchar.rb (test_bang): added. 2004-11-20 14:04:10 +00:00
test_struct.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_super.rb This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2004-12-20 14:41:10 +00:00
test_system.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_time.rb add an assertion. 2004-06-25 22:59:01 +00:00
test_trace.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_variable.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
test_whileuntil.rb * test/*: should not depend on $KCODE. 2004-02-18 13:21:10 +00:00
ut_eof.rb * ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read, 2005-03-07 12:10:03 +00:00