summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2008-06-27* ext/win32ole/win32ole.c : check String encoding whensuke
converting String to VT_BSTR in OLE. * test/win32ole/test_win32ole.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* time.c: fix rounding negative float.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* test/inlinetest.rb (InlineTest.in_progname): workaround for frozennobu
$0. [ruby-dev:35261] * lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* lib/erb.rb: adjust line number for magic comment.kazu
* test/erb/test_erb.rb: add tests for def_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24* test/ruby/test_process.rb (test_exec_wordsplit): on win32, exec'ed process ↵usa
is not child but grandchild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24* test_process.rb (test_popen_fork): skip test if fork is not implemented.usa
* test_process.rb (test_getpriority): skip test if Process::PRIO_USER is not defined. * test_process.rb (test_setpriority): cannot rescue exceptions which raise in assert_nothing_raised. check Process:PRIO_USER before test to skip instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20* string.c (rb_memhash): randomize hash to avoid algorithmicakr
complexity attacks. (rb_str_hash): use rb_memhash. * include/ruby/intern.h (rb_reset_random_seed): declared. * thread.c (rb_thread_atfork): call rb_reset_random_seed. * inits.c (rb_call_inits): call Init_RandomSeed at first. * random.c (seed_initialized): defined. (fill_random_seed): extracted from random_seed. (make_seed_value): extracted from random_seed. (rb_f_rand): initialize random seed at first. (initial_seed): defined. (Init_RandomSeed): defined. (Init_RandomSeed2): defined. (rb_reset_random_seed): defined. (Init_Random): call Init_RandomSeed2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/testunit/collector/test_dir.rb: r15825 made it unnecessary to changemame
String to Symbol. * test/testunit/collector/test_objectspace.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19Update to RubyGems 1.1.1 r1784 (pre 1.2)drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/net/http/test_http.rb: compare encodings of two strings beforemame
comparing themself, which suppress too big error output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* test/ruby/test_enumerator.rb: fix to skip "with_memo" test.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/etc/test_etc.rb: avoid infinite loop. [ruby-dev:35158]mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_rubyoptions.rb: use character class instead of alternationkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_unicode_escape.rb (test_basic): windows' echo support.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_shebang.rb (test_shebang): on windows path separetor is '\'.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_io.rb (test_copy_stream_dst_rbuf): set binmode.usa
* test/ruby/test_io.rb (make_tempfile): set binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_argf.rb: support NO_SAFE_RENAME platforms.usa
* test/ruby/test_argf.rb: now tempfiles are binmode'ed to test tell/pos/etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-18* test/ruby/test_argf.rb (test_binmode): wrong test. fixed.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17Fix RubyGems for 1.9, r1780drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17Update RubyGems to 1.1.1 r1778 (almost 1.2)drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-12* test/ruby/test_thread.rb: add a test.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-11* ext/stringio/stringio.c (strio_init): rewind when reopened.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-11* io.c (rb_io_reopen): clear read buffer.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* test/ruby/test_float.rb: add tests. [ruby-dev:35009]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* test/zlib/test_zlib.rb: add tests to achieve over 90% test coveragemame
of zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08avoid dead lock on MacOS X.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* hash.c (hash_i): make Hash#hash order insensitive.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06* test/iconv/utils.rb (default_test): override not to croak.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* test/ruby/test_gc.rb: add tests to achieve over 90% test coverage ofmame
gc.c. * test/ruby/test_objectspace.rb: ditto. * test/ruby/test_marshal.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* test/stringio/test_stringio.rb: add tests to achieve over 95% testmame
coverage of stringio. * test/strscan/test_stringscanner.rb: ditto for strscan. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):knu
Add a null check for ssl; submitted by akira yamada in [ruby-dev:34950]. * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if SSL_OP_NO_TICKET is present; submitted by akira yamada in [ruby-dev:34944]. * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a workaround for the case where OpenSSL is configured with --enable-tlsext; submitted by akira yamada in [ruby-dev:34944]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* test/iconv/utils.rb (TestIconv.testcase): make test cases conditionally.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* test/iconv/test_{basic,option}.rb, test/iconv/utils.rb: added.nobu
* test/iconv/test_partial.rb: renamed from test_simple.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-05* test/iconv/test_simple.rb: added.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04* test/ruby/test_transcode.rb: add tests for iso-2022-jp.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04* test/ruby/test_process.rb: add tests.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-04avoid infinite loop on FreeBSD 6.3.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-03* test/ruby/test_dir.rb: add tests to achieve over 90% test coveragemame
of dir.c. * test/ruby/test_encoding.rb: add tests for dummy?, name_list and aliases. * test/ruby/test_marshal.rb: add some tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-03* test/etc/test_etc.rb: new tests for etc.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-03* enumerator.c (enumerator_with_memo): New method: with_memo().knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* test/ruby/test_method.rb: add a test.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* enc/iso_8859_5.c: Large omicron should lowercase to small omicron.mame
* test/ruby/test_big5.rb, test/ruby/test_cp949.rb, test/ruby/test_euc_jp.rb, test/ruby/test_euc_kr.rb, test/ruby/test_euc_tw.rb, test/ruby/test_gb18030.rb, test/ruby/test_gbk.rb, test/ruby/test_iso_8859.rb, test/ruby/test_koi8.rb, test/ruby/test_shift_jis.rb, test/ruby/test_windows_1251.rb: new tests for encoding. * test/ruby/test_utf16.rb, test/ruby/test_utf32.rb, test/ruby/test_regexp.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* test/ruby/test_file.rb: add tests for uninitialized object.mame
* test/ruby/test_class.rb: ditto. * test/ruby/test_thread.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* re.c: fix SEGV by Regexp.allocate.names, Match.allocate.names, etc.mame
* test/ruby/test_regexp.rb: add tests for above. * io.c: fix SEGV by IO.allocate.print, etc. * test/ruby/test_io.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* test/ruby/test_argf.rb (teardown): remove renamed temporary files.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02* lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bugknu
where tokens are not yilelded one by one. * test/erb/test_erb.rb (TestERBCore#_test_01) (TestERBCore#test_02_safe_04): The expected value should come first for assert_equal(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-01* test/ruby/envutil.rb (assert_normal_exit): show coredump status.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-01debug print removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e