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 a9fb0817a1 * ext/openssl/ossl_ssl.c (ossl_start_ssl): 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/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): ditto.

* ext/openssl/lib/openssl/buffering.rb
  (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#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/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/trunk@8081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-05 21:36:11 +00:00
..
beginmainend.rb * object.c (convert_type): [ruby-core:03845] 2004-11-29 06:09:40 +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 (EnvUtil::rubybin): give priority to 2004-05-19 14:45:49 +00:00
marshaltestlib.rb * test/ruby/marshaltestlib.rb: common marshal testcase added. 2004-02-17 14:15:37 +00:00
test_alias.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_array.rb Add extend testcase for #first, #last, #shift, #unshift, #pop, #push methods. 2004-06-16 11:01:15 +00:00
test_assignment.rb * ext/syck/rubyext.c: get rid of warnings. 2004-03-03 23:08:45 +00:00
test_beginendblock.rb * test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb to 2004-01-29 13:22:27 +00:00
test_bignum.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_call.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_case.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_clone.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_condition.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_const.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_defined.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_env.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_eval.rb add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103], 2004-09-07 05:32:26 +00:00
test_exception.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_file.rb * test/ruby/test_file.rb (test_truncate_wbuf): we want to test 2004-11-11 07:56:38 +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:08:08 +00:00
test_hash.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_ifunless.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_io.rb * test/ruby/test_io.rb (test_gets_rs): add more tests. 2004-11-20 17:29:18 +00:00
test_iterator.rb * array.c: replace rb_protect_inspect() and rb_inspecting_p() by 2005-03-04 06:47:45 +00:00
test_marshal.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_math.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_pack.rb add an assertion for [0x100000000].pack("U"). 2004-04-07 06:01:25 +00:00
test_path.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_pipe.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_proc.rb * eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not 2004-06-19 04:27:08 +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:08:08 +00:00
test_readpartial.rb update readpartial document. 2005-01-08 18:18:36 +00:00
test_regexp.rb * regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8 characters that have U+00FE or invalid characters. 2004-11-28 03:09:13 +00:00
test_settracefunc.rb Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 2004-11-17 14:48:35 +00:00
test_signal.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_sprintf.rb * sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf. 2004-06-22 14:38:21 +00:00
test_string.rb test String#sum for bits=0..7. 2004-10-03 06:09:54 +00:00
test_stringchar.rb * string.c (str_gsub): internal buffer should not be listed by 2004-11-18 16:02:08 +00:00
test_struct.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
test_super.rb * test/ruby/test_super.rb (TestSuper#test_define_method): now methods 2004-12-12 12:32:21 +00:00
test_system.rb * parse.y (string_content): get rid of segfault at empty evstr. 2004-12-08 02:46:39 +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:08:08 +00:00
test_variable.rb * variable.c (rb_cvar_set): class variables become private to the 2004-03-19 07:13:01 +00:00
test_whileuntil.rb * test/*: should not depend on $KCODE. 2004-02-18 13:08:08 +00:00
ut_eof.rb * ext/openssl/ossl_ssl.c (ossl_start_ssl): should wait for that 2005-03-05 21:36:11 +00:00