summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-06-10merges r28105 from trunk into ruby_1_9_2.yugui
-- * file.c (file_expand_path): Refix r28102: this breaks r28039. test for [ruby-dev:41429] is added. [ruby-core:30516] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* time.c (rb_localtime_r2): refine localtime overflow check forakr
FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* time.c (find_time_t): always outerpolate from past.akr
[ruby-core:30672] reported by Benoit Daloze. backport r28238 from trunk. * time.c (calc_tm_yday): extracted from timegmw_noleapsecond. backport r28236 from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10merge revision(s) 28245:naruse
------------------------------------------------------------------------ r28245 | naruse | 2010-06-10 13:31:08 +0900 (Thu, 10 Jun 2010) | 4 lines Revert r28200. It caused many failures on test-all and following is SEGV. ./ruby -e 'require %!#{"foo/" * 10000}foo!' ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08merge revision(s) 28128:naruse
------------------------------------------------------------------------ r28128 | nobu | 2010-06-02 23:06:25 +0900 (Wed, 02 Jun 2010) | 2 lines * test/ruby/test_{string,symbol}.rb (test_ascii_incomat_inspect): ASCII range characters are no longer escaped. ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08* test/ruby/test_proc.rb (test_parameters): require is no longer built-in.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* test/rubygems/test_gem_activation.rb: typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* gem_prelude.rb: load full rubygems at LoadError for activationnobu
check. [ruby-core:29486] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07* io.c (parse_mode_enc): set set_by_bom bit. [ruby-core:30641]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06 * test/ruby/test_env.rb (class TestEnv): fix typo.tarui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-06* array.c (rb_ary_product): need to set the length in order to getnobu
the entries marked. [ruby-dev:41540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05merge revision(s) 28174:28178:naruse
* re.c (rb_reg_expr_str): ASCII incompatible strings must always escape or converted. * re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char when resenc is given: for Regexp#inspect or error message. * re.c (rb_reg_desc): add 'n' for ENCODING_NONE. * string.c (sym_inspect): Escape when the symbol is not resulted encoding and not ascii_only. It had escaped ascii-incompatible string, but it is wrong. * string.c (rb_str_buf_cat_escaped_char): defined. Splited from rb_str_inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05merge revision(s) 28104:naruse
* string.c (rb_str_inspect): inspect as ASCII when the codepoint of a character in Unicode string is ASCII printable one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* ruby.c (process_options, load_file_internal): $0 seen fromnobu
required libraries by -r option should be the main script. [ruby-core:23717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* test/ruby/envutil.rb (EnvUtil#invoke_ruby): support for childnobu
process env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* test/net/imap/test_imap.rb (test_exception_during_shutdown):nobu
need to raise always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05* ruby.c (process_options): revert r25330, so that $0 can be seennobu
from required libraries by -r option. [ruby-core:23717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-04* file.c (rb_f_test): 'W' should test writable by real uid/git,nobu
not world writable. [ruby-core:30587] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/rake/test_win32.rb (Rake::TestWin32): update tests.nobu
[ruby-core:30309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/io/nonblock/test_flush.rb (test_flush): try pipe andnobu
socketpair. [ruby-dev:41517] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/gdbm/test_gdbm.rb (test_s_open_create_new): Windows doesn't supportsusa
UNIX like permittions. * test/gdbm/test_gdbm.rb (test_s_open_error): Errno::EWOULDBLOCK is raised on Windows in such case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03* test/openssl/test_config.rb (test_freeze): skip on Windows because Config.newusa
needs an argument on it. When the maintainer returns, this test shall be corrected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02* test/ruby/test_path.rb (test_path): get rid of blocking onnobu
access to non-existent host. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02merge from trunk (r28125)usa
* test/dl/test_cfunc.rb (test_last_error): CFunc.last_error is thread local variable. So, if another test calls CFunc#call, it's set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31* regparse.c (onig_syntax_warn): do not use external strings asnobu
printf format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30* file.c (file_expand_path): check if expanded dname encoding isnobu
compatible with fname, not just copying. [ruby-core:30516] * test/ruby/test_beginendblock.rb (test_endblockwarn): needs encoding comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29* parse.y (parser_tokadd_utf8, parser_tokadd_string): allow NULnobu
containing symbol literals, as well as String#to_sym. [ruby-dev:41447] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29merges r28023 and r28024 from trunk into ruby_1_9_2.yugui
-- * test/rinda/test_rinda.rb (class TupleSpaceTest): kill a used thread at teardown. [ruby-dev:41397] * test/rinda/test_rinda.rb (class TupleSpaceProxyTest): ditto. -- * ChangeLog: fix wrong format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29merges r28011 from trunk into ruby_1_9_2.yugui
-- refine an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29merges r27992 from trunk into ruby_1_9_2.yugui
-- add an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29* lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM.nobu
[ruby-dev:41452] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29* test/ruby/envutil.rb: fix for --disable-gems.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28* string.c (sym_inspect): escape ASCII-compatible strings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-28* string.c (rb_str_inspect): escape ASCII-compatible strings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-27* test/sdbm/test_sdbm.rb (test_s_open_error): doesn't support to avoid readusa
access by owner on Windows git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26merge from trunk (r28021)usa
* test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env): environment variable name is not case sensitive on Windows git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26merge from trunk (r28019)usa
* test/test_tempfile.rb: skip some tests on Windows because unlinking is always delayed till closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26* random.c (random_rand): subtraction method of non-numeric cannobu
return Float, and add the result of random to the beginning of range, not the opposite. [ruby-dev:41410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25merge revision(s) 28013:naruse
* regparse.c (add_code_range_to_buf0): fix false negative warning when given range is just before previous range. [ruby-dev:41406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25merge from trunk (r28008)usa
* test/test_find.rb: skip some tests on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23* process.c (rb_f_spawn): use correct command name for the errornobu
message. [ruby-dev:41395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23merges r27690 and r27903 from trunk into ruby_1_9_2.yugui
-- * lib/net/imap.rb (disconnect): terminates @receiver_thread even if @sock.shutdown raises an exception. [ruby-dev:34881] -- * lib/net/imap.rb (disconnect): closes the socket of a Net::IMAP object only when it is not closed. [ruby-dev:41350] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21merged from trunk (r27922)suke
* ext/win32ole/win32ole.c (ole_invoke): merged from trunk (r27922). raise NoMethodError when COM method is not found. * test/win32ole/test_win32ole.rb (test_no_method_error): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19merge from trunk (r27887-r27889)usa
* test/win32ole/test_folderitem2_invokeverb.rb (test_invokeverb): should use assert_equal instead of assert in such cases. * test/dl/test_func.rb (test_sinf): sinf() doesn't exist in the standard of C. * test/csv/test_interface.rb (test_write_hash): may need to set binary mode when converter is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19merge revision(s) 27897:naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19merge revision(s) 27891:naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19* vm_eval.c (rb_f_caller): return [] instead of nil when the functionmame
is called on toplevel. [ruby-dev:41348] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19merge from trunk (r27877, r27879, r27880, r27883, r27884)usa
* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine): skip if they are not implemented. * test/socket/test_addrinfo.rb: ipaddr.rb defines Socket::AF_INET6 as an Object if the constant is not available. * test/logger/test_logger.rb: close logger (or logdevice) if it's related to a file because some platforms such as Windows cannot remove opened files. * test/openssl/test_ssl.rb (server_loop): treat Errno::ENOTSOCK just like as Errno::EBADF and Errno::EINVAL. * test/openssl/test_ssl.rb (test_client_auth): Errno::ECONNRESET is raised on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17merge revision(s) 27860:naruse
* enc/iso_2022_jp.h: add CP50220. * enc/trans/iso2022.trans: add converter for CP50220. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17merge from trunk (r27856, r27857)usa
* lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in UTF-8 on Windows to allow FileUtils accessing all pathnames internally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e