1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
usa 3e8c0c577c The encoding of __FILE__ and __dir__ should be same
* ruby.c (process_options): convert the real path of the script to locale
  encoding if its encoding is not locale (maybe UTF-8) on Windows/OS X.
  this change makes the encoding of __dir__ to the same encoding of __FILE__
  when the script name is passed from commandline.

* test/ruby/test_options.rb (test___dir__encoding): test for this change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 15:43:05 +00:00
..
-ext- Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
base64
benchmark
bigdecimal Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
cgi
coverage test/coverage/test_coverage.rb: Refactor coverage tests. 2017-09-23 23:58:24 +00:00
csv test_features.rb: fix unused variable warning 2017-09-26 10:45:14 +00:00
date ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
dbm
digest
drb Fix r60271 2017-10-21 14:22:04 +00:00
dtrace rename ruby-runner as bin/ruby 2017-09-15 17:42:00 +00:00
erb test_erb.rb: add test cases for uncovered methods 2017-09-26 11:30:45 +00:00
etc test_etc.rb: fix test_getgrnam for duplicated group names 2017-09-29 17:19:37 +00:00
excludes
fiddle Use mutable strings for mutation tests. 2017-09-12 23:15:34 +00:00
fileutils fix r60281 2017-10-21 14:35:19 +00:00
gdbm
io test_io_console.rb: flush 2017-09-28 02:51:41 +00:00
irb
json
lib Use caller with length to reduce unused strings 2017-10-21 14:40:03 +00:00
logger logger.rb: Fix handling progname 2017-07-20 16:47:26 +00:00
matrix
minitest
misc
mkmf
monitor Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
net Fix leaked file descriptor 2017-10-03 12:06:14 +00:00
nkf Fix test code of kconv 2017-09-15 16:56:16 +00:00
objspace io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
open-uri lib/open-uri.rb: accept :encoding option as well as encoding in mode string. 2017-10-21 06:22:53 +00:00
openssl openssl: import e72d960db262 2017-09-24 16:26:22 +00:00
optparse optparse.rb: case-sensitive candidate 2017-07-24 01:56:04 +00:00
ostruct
pathname test_pathname.rb#test_open should care about umask 2017-10-21 14:22:12 +00:00
psych Merge psych-3.0.0.beta3 from ruby/psych. 2017-07-14 06:15:58 +00:00
rdoc Fix the leak in TestRDocGeneratorDarkfish#test_generated_method_with_html_tag_yield 2017-10-17 07:41:04 +00:00
readline suppress warning: assigned but unused variable - line 2017-08-15 21:36:16 +00:00
resolv Fixed unexpected behavior of Resolv::MDNS#each_address when given ".local" address. 2017-10-21 13:58:31 +00:00
rexml REXML: Fix a bug that unexpected methods can be called as a XPath function 2017-08-13 12:14:24 +00:00
rinda
ripper parse.y: indent at '#' 2017-10-19 05:10:38 +00:00
rss
ruby The encoding of __FILE__ and __dir__ should be same 2017-10-21 15:43:05 +00:00
rubygems Merge rubygems master(ddbf3203f3857649abe95c73edefc7de7e6ecff4). 2017-10-20 09:03:37 +00:00
scanf Fix bug about String#scanf("%a") 2017-10-21 12:34:13 +00:00
sdbm
shell test_command_processor.rb: add suffix 2017-06-23 15:08:50 +00:00
socket socket.c: null byte at Socket.getnameinfo 2017-10-11 06:16:04 +00:00
stringio stringio.c: encoding at empty chomped result 2017-08-13 07:31:49 +00:00
strscan strscan.c: fix segfault in aref 2017-07-21 13:30:46 +00:00
syslog
testunit
thread Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
uri URI::Generic: Separate no_proxy handling 2017-09-28 10:51:31 +00:00
webrick webrick: do not hang acceptor on slow TLS connections 2017-10-12 18:50:07 +00:00
win32ole test/win32ole/test_word.rb: word quit without confirmation dialog to save 2017-09-13 13:24:59 +00:00
yaml
zlib zlib.c: memory leak in gunzip 2017-10-06 13:41:37 +00:00
colors
runner.rb the working directory may not be srcdir 2017-09-07 17:45:34 +00:00
test_abbrev.rb
test_cmath.rb
test_delegate.rb Delegate to eql? [Fix GH-1564] 2017-06-24 03:35:29 +00:00
test_extlibs.rb
test_find.rb test_find.rb: improve branch coverage 2017-09-30 03:31:32 +00:00
test_forwardable.rb
test_ipaddr.rb Import ipaddr 1.2.0 2017-10-21 13:34:19 +00:00
test_mutex_m.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_observer.rb
test_open3.rb lib/open3.rb: accept IO-like object for :stdin_data argument. 2017-10-21 07:00:58 +00:00
test_pp.rb
test_prettyprint.rb
test_prime.rb
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb SecureRandom.alphanumeric implemented. 2017-10-21 15:21:26 +00:00
test_set.rb Allow a SortedSet to be frozen and still functional [Bug #12091] 2017-10-21 15:38:38 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_time.rb Make Time.parse respect timezone offset seconds 2017-10-20 01:03:18 +00:00
test_timeout.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb