Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0802e4f9a6a7^
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 25c52bbe9e04
Choose a head ref
  • 2 commits
  • 102 files changed
  • 1 contributor

Commits on Feb 2, 2015

  1. Copy the full SHA
    0802e4f View commit details
  2. Copy the full SHA
    25c52bb View commit details
Showing with 166 additions and 143 deletions.
  1. +27 −13 spec/mspec/lib/mspec/runner/mspec.rb
  2. +7 −0 spec/truffle/tags/core-slow/encoding/converter/convpath_tags.txt
  3. +8 −0 spec/truffle/tags/core-slow/encoding/converter/search_convpath_tags.txt
  4. 0 spec/truffle/tags/{core/gc/garbage_collect_tags.txt → core-slow/gc/garbage_collect_tagst.txt}
  5. 0 spec/truffle/tags/{core → core-slow}/gc/start_tags.txt
  6. +2 −0 spec/truffle/tags/core-slow/kernel/eval_tags.txt
  7. +2 −0 spec/truffle/tags/core-slow/kernel/sleep_tags.txt
  8. 0 spec/truffle/tags/{core → core-slow}/objectspace/garbage_collect_tags.txt
  9. +1 −0 spec/truffle/tags/core-slow/rational/round_tags.txt
  10. +1 −0 spec/truffle/tags/core-windows/class/inherited_tags.txt
  11. +1 −0 spec/truffle/tags/core-windows/dir/fileno_tags.txt
  12. +1 −0 spec/truffle/tags/core-windows/encoding/dummy_tags.txt
  13. +1 −0 spec/truffle/tags/core-windows/encoding/find_tags.txt
  14. 0 spec/truffle/tags/{core → core-windows}/env/has_value_tags.txt
  15. 0 spec/truffle/tags/{core → core-windows}/env/value_tags.txt
  16. +4 −0 spec/truffle/tags/core-windows/file/basename_tags.txt
  17. +4 −0 spec/truffle/tags/core-windows/file/chmod_tags.txt
  18. +1 −0 spec/truffle/tags/core-windows/file/constants/constants_tags.txt
  19. +6 −0 spec/truffle/tags/core-windows/file/dirname_tags.txt
  20. +7 −0 spec/truffle/tags/core-windows/file/expand_path_tags.txt
  21. +3 −0 spec/truffle/tags/core-windows/file/file_tags.txt
  22. +2 −0 spec/truffle/tags/core-windows/file/fnmatch_tags.txt
  23. +1 −0 spec/truffle/tags/core-windows/file/grpowned_tags.txt
  24. +5 −0 spec/truffle/tags/core-windows/file/join_tags.txt
  25. +1 −0 spec/truffle/tags/core-windows/file/null_tags.txt
  26. +1 −0 spec/truffle/tags/core-windows/file/path_tags.txt
  27. +1 −0 spec/truffle/tags/core-windows/file/read_tags.txt
  28. +3 −0 spec/truffle/tags/core-windows/file/size_tags.txt
  29. +1 −0 spec/truffle/tags/core-windows/file/stat/file_tags.txt
  30. +1 −0 spec/truffle/tags/core-windows/file/stat/grpowned_tags.txt
  31. +2 −0 spec/truffle/tags/core-windows/file/stat/umask_tags.txt
  32. +2 −0 spec/truffle/tags/core-windows/file/stat/zero_tags.txt
  33. +2 −0 spec/truffle/tags/core-windows/file/zero_tags.txt
  34. +4 −0 spec/truffle/tags/core-windows/io/close_on_exec_tags.txt
  35. +2 −0 spec/truffle/tags/core-windows/io/read_tags.txt
  36. +2 −0 spec/truffle/tags/core-windows/io/readlines_tags.txt
  37. +2 −0 spec/truffle/tags/core-windows/io/write_tags.txt
  38. +2 −0 spec/truffle/tags/core-windows/kernel/eval_tags.txt
  39. +4 −0 spec/truffle/tags/core-windows/kernel/fork_tags.txt
  40. +2 −0 spec/truffle/tags/core-windows/kernel/spawn_tags.txt
  41. +1 −0 spec/truffle/tags/core-windows/method/source_location_tags.txt
  42. +1 −0 spec/truffle/tags/core-windows/process/daemon_tags.txt
  43. +1 −0 spec/truffle/tags/core-windows/process/fork_tags.txt
  44. +1 −0 spec/truffle/tags/core-windows/process/spawn_tags.txt
  45. +1 −0 spec/truffle/tags/core-windows/process/status/exited_tags.txt
  46. +1 −0 spec/truffle/tags/core-windows/process/status/signalled_tags.txt
  47. +1 −0 spec/truffle/tags/core-windows/process/status/success_tags.txt
  48. +1 −0 spec/truffle/tags/core-windows/process/status/termsig_tags.txt
  49. 0 spec/truffle/tags/{core → core-windows}/struct/to_s_tags.txt
  50. +0 −1 spec/truffle/tags/core/class/inherited_tags.txt
  51. +0 −1 spec/truffle/tags/core/dir/fileno_tags.txt
  52. +0 −7 spec/truffle/tags/core/encoding/converter/convpath_tags.txt
  53. +0 −8 spec/truffle/tags/core/encoding/converter/search_convpath_tags.txt
  54. +0 −1 spec/truffle/tags/core/encoding/dummy_tags.txt
  55. +0 −1 spec/truffle/tags/core/encoding/find_tags.txt
  56. +0 −4 spec/truffle/tags/core/file/basename_tags.txt
  57. +0 −4 spec/truffle/tags/core/file/chmod_tags.txt
  58. +0 −1 spec/truffle/tags/core/file/constants/constants_tags.txt
  59. +0 −6 spec/truffle/tags/core/file/dirname_tags.txt
  60. +0 −7 spec/truffle/tags/core/file/expand_path_tags.txt
  61. +0 −3 spec/truffle/tags/core/file/file_tags.txt
  62. +0 −2 spec/truffle/tags/core/file/fnmatch_tags.txt
  63. +0 −1 spec/truffle/tags/core/file/grpowned_tags.txt
  64. +0 −5 spec/truffle/tags/core/file/join_tags.txt
  65. +0 −1 spec/truffle/tags/core/file/null_tags.txt
  66. +0 −1 spec/truffle/tags/core/file/path_tags.txt
  67. +0 −1 spec/truffle/tags/core/file/read_tags.txt
  68. +0 −3 spec/truffle/tags/core/file/size_tags.txt
  69. +0 −1 spec/truffle/tags/core/file/stat/file_tags.txt
  70. +0 −1 spec/truffle/tags/core/file/stat/grpowned_tags.txt
  71. +0 −2 spec/truffle/tags/core/file/stat/zero_tags.txt
  72. +0 −2 spec/truffle/tags/core/file/umask_tags.txt
  73. +0 −2 spec/truffle/tags/core/file/zero_tags.txt
  74. +0 −4 spec/truffle/tags/core/io/close_on_exec_tags.txt
  75. +0 −2 spec/truffle/tags/core/io/read_tags.txt
  76. +0 −2 spec/truffle/tags/core/io/readlines_tags.txt
  77. +0 −2 spec/truffle/tags/core/io/write_tags.txt
  78. +0 −4 spec/truffle/tags/core/kernel/eval_tags.txt
  79. +0 −4 spec/truffle/tags/core/kernel/fork_tags.txt
  80. +0 −2 spec/truffle/tags/core/kernel/sleep_tags.txt
  81. +0 −2 spec/truffle/tags/core/kernel/spawn_tags.txt
  82. +0 −1 spec/truffle/tags/core/method/source_location_tags.txt
  83. +0 −1 spec/truffle/tags/core/process/daemon_tags.txt
  84. +0 −1 spec/truffle/tags/core/process/fork_tags.txt
  85. +0 −1 spec/truffle/tags/core/process/spawn_tags.txt
  86. +0 −1 spec/truffle/tags/core/process/status/exited_tags.txt
  87. +0 −1 spec/truffle/tags/core/process/status/signaled_tags.txt
  88. +0 −1 spec/truffle/tags/core/process/status/success_tags.txt
  89. +0 −1 spec/truffle/tags/core/process/status/termsig_tags.txt
  90. +0 −1 spec/truffle/tags/core/rational/round_tags.txt
  91. +3 −0 spec/truffle/tags/language-slow/break_tags.txt
  92. +5 −0 spec/truffle/tags/language-slow/predefined/data_tags.txt
  93. +5 −0 spec/truffle/tags/language-slow/predefined_tags.txt
  94. +3 −0 spec/truffle/tags/language-windows/break_tags.txt
  95. +5 −0 spec/truffle/tags/language-windows/data_tags.txt
  96. 0 spec/truffle/tags/{language → language-windows}/file_tags.txt
  97. +5 −0 spec/truffle/tags/language-windows/predefined_tags.txt
  98. +0 −6 spec/truffle/tags/language/break_tags.txt
  99. +0 −10 spec/truffle/tags/language/predefined/data_tags.txt
  100. +0 −10 spec/truffle/tags/language/predefined_tags.txt
  101. +15 −6 spec/truffle/truffle.mspec
  102. +1 −1 truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
40 changes: 27 additions & 13 deletions spec/mspec/lib/mspec/runner/mspec.rb
Original file line number Diff line number Diff line change
@@ -274,27 +274,41 @@ def self.clear_expectations
#
# path/to/spec/class/method_spec.rb => path/to/spec/tags/class/method_tags.txt
#
# More than one replacement can be specified, and files will be
# found that match any of the replacements.
#
# See also +register_tags_patterns+.
def self.tags_file
def self.tags_files
patterns = retrieve(:tags_patterns) ||
[[%r(spec/), 'spec/tags/'], [/_spec.rb$/, '_tags.txt']]
patterns.inject(retrieve(:file).dup) do |file, pattern|
file.gsub(*pattern)
files = [retrieve(:file).dup]
patterns.each do |pattern, *replacements|
files = files.map { |file|
if pattern === file
replacements.map do |replacement|
file.gsub(pattern, replacement)
end
else
[file]
end
}.flatten
end
files
end

# Returns a list of tags matching any tag string in +keys+ based
# on the return value of <tt>keys.include?("tag_name")</tt>
def self.read_tags(keys)
tags = []
file = tags_file
if File.exist? file
File.open(file, "rb") do |f|
f.each_line do |line|
line.chomp!
next if line.empty?
tag = SpecTag.new line
tags << tag if keys.include? tag.tag
tags_files.each do |file|
if File.exist? file
File.open(file, "rb") do |f|
f.each_line do |line|
line.chomp!
next if line.empty?
tag = SpecTag.new line
tags << tag if keys.include? tag.tag
end
end
end
end
@@ -304,7 +318,7 @@ def self.read_tags(keys)
# Writes each tag in +tags+ to the tag file. Overwrites the
# tag file if it exists.
def self.write_tags(tags)
file = tags_file
file = tags_files[0]
path = File.dirname file
FileUtils.mkdir_p path unless File.exist? path
File.open(file, "wb") do |f|
@@ -322,7 +336,7 @@ def self.write_tag(tag)
end
end

file = tags_file
file = tags_files[0]
path = File.dirname file
FileUtils.mkdir_p path unless File.exist? path
File.open(file, "ab") { |f| f.puts tag.to_s }
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
slow:Encoding::Converter#convpath returns an Array
slow:Encoding::Converter#convpath returns each encoding pair as a sub-Array
slow:Encoding::Converter#convpath returns each encoding as an Encoding object
slow:Encoding::Converter#convpath returns multiple encoding pairs when direct conversion is impossible
slow:Encoding::Converter#convpath sets the last element of each pair to the first element of the next
slow:Encoding::Converter#convpath only lists a source encoding once
slow:Encoding::Converter#convpath indicates if crlf_newline conversion would occur
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
slow:Encoding::Converter.search_convpath returns an Array
slow:Encoding::Converter.search_convpath returns each encoding pair as a sub-Array
slow:Encoding::Converter.search_convpath returns each encoding as an Encoding object
slow:Encoding::Converter.search_convpath returns multiple encoding pairs when direct conversion is impossible
slow:Encoding::Converter.search_convpath sets the last element of each pair to the first element of the next
slow:Encoding::Converter.search_convpath only lists a source encoding once
slow:Encoding::Converter.search_convpath indicates if crlf_newline conversion would occur
slow:Encoding::Converter.search_convpath raises an Encoding::ConverterNotFoundError if no conversion path exists
File renamed without changes.
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-slow/kernel/eval_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
slow:Kernel#eval raises a LocalJumpError if there is no lambda-style closure in the chain
slow:Kernel#eval does not share locals across eval scopes
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-slow/kernel/sleep_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
slow:Kernel#sleep accepts a Float
slow:Kernel#sleep accepts a Rational
1 change: 1 addition & 0 deletions spec/truffle/tags/core-slow/rational/round_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
slow:Rational#round with a precision > 0 doesn't fail when rounding to an absurdly large positive precision
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/class/inherited_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows bug):Class.inherited is invoked only once per subclass
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/dir/fileno_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Dir#fileno raises an error
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/encoding/dummy_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows bug):Encoding#dummy? returns true for dummy encodings
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/encoding/find_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows - Encoding.aliases):Encoding.find needs to be reviewed for spec completeness
File renamed without changes.
4 changes: 4 additions & 0 deletions spec/truffle/tags/core-windows/file/basename_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails(windows):File.basename returns the basename for windows
fails(windows):File.basename returns basename windows unc
fails(windows):File.basename returns basename windows forward slash
fails(windows):File.basename returns basename with windows suffix
4 changes: 4 additions & 0 deletions spec/truffle/tags/core-windows/file/chmod_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails(windows):File#chmod with '0444' makes file readable and executable but not writable
fails(windows):File#chmod with '0644' makes file readable and writable and also executable
fails(windows):File.chmod with '0444' makes file readable and executable but not writable
fails(windows):File.chmod with '0644' makes file readable and writable and also executable
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):File::Constants::BINARY is defined
6 changes: 6 additions & 0 deletions spec/truffle/tags/core-windows/file/dirname_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
fails(windows):File.dirname returns all the components of filename except the last one (edge cases on windows)
fails(windows):File.dirname returns the return all the components of filename except the last one (Windows format)
fails(windows):File.dirname returns the return all the components of filename except the last one (windows unc)
fails(windows):File.dirname returns the return all the components of filename except the last one (forward_slash)
fails(windows bug):File.dirname ignores a trailing /
fails(windows bug):File.dirname returns the return all the components of filename except the last one (unix format)
7 changes: 7 additions & 0 deletions spec/truffle/tags/core-windows/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fails(windows):File.expand_path does not return a frozen string
fails(windows):File.expand_path expands C:/./dir to C:/dir
fails(windows bug):File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512
fails(windows bug):File.expand_path converts a pathname to an absolute pathname, using a complete path
fails(windows bug):File.expand_path raises a TypeError if not passed a String type
fails(windows bug):File.expand_path does not modify the string argument
fails(windows bug):File.expand_path returns a String when passed a String subclass
3 changes: 3 additions & 0 deletions spec/truffle/tags/core-windows/file/file_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails(windows bug):File.file? returns true if the named file exists and is a regular file.
fails(windows bug):File.file? raises an ArgumentError if not passed one argument
fails(windows bug):File.file? raises a TypeError if not passed a String type
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/file/fnmatch_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):File.fnmatch matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
fails(windows):File.fnmatch? matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/grpowned_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):File.grpowned? returns false if the file exist
5 changes: 5 additions & 0 deletions spec/truffle/tags/core-windows/file/join_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fails(windows):File.join respects given separator if only one part has a boundary separator
fails(windows bug):File.join joins parts using File::SEPARATOR if there are no boundary separators
fails(windows bug):File.join supports any number of arguments
fails(windows bug):File.join flattens nested arrays
fails(windows bug):File.join inserts the separator in between empty strings and arrays
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/null_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):File::NULL returns NUL as a string
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/path_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows bug):File.path returns the full path for the given file
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/read_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):File.read raises an Errno::EACCES when passed a path that is a directory
3 changes: 3 additions & 0 deletions spec/truffle/tags/core-windows/file/size_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fails(windows bug):File.size? returns the size of the file if it exists and is not empty
fails(windows bug):File.size? returns nil if file_name doesn't exist or has 0 size
fails(windows bug):File.size? returns nil if file_name is empty
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/stat/file_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows bug):File::Stat#file? raises an ArgumentError if not passed one argument
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/file/stat/grpowned_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):File::Stat#grpowned? returns false if the file exist
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/file/stat/umask_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):File.umask returns the current umask value for this process (basic)
fails(windows):File.umask returns the current umask value for this process
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/file/stat/zero_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):File::Stat#zero? returns true for NUL
fails(windows):File::Stat#zero? returns true for a directory
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/file/zero_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):File.zero? returns true for NUL
fails(windows):File.zero? returns true for a directory
4 changes: 4 additions & 0 deletions spec/truffle/tags/core-windows/io/close_on_exec_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails(windows):IO#close_on_exec= returns false from #respond_to?
fails(windows):IO#close_on_exec= raises a NotImplementedError when called
fails(windows):IO#close_on_exec? returns false from #respond_to?
fails(windows):IO#close_on_exec? raises a NotImplementedError when called
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/io/read_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):IO#read on Windows normalizes line endings in text mode
fails(windows):IO#read on Windows does not normalize line endings in binary mode
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/io/readlines_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows bug):IO.readlines does not change $_
fails(windows bug):IO.readlines raises TypeError if the first parameter is nil
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/io/write_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):IO#write on Windows normalizes line endings in text mode
fails(windows):IO#write on Windows does not normalize line endings in binary mode
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/kernel/eval_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows bug):Kernel#eval does not share locals across eval scopes
fails(windows bug):Kernel#eval raises a LocalJumpError if there is no lambda-style closure in the chain
4 changes: 4 additions & 0 deletions spec/truffle/tags/core-windows/kernel/fork_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fails(windows):Kernel#fork returns false from #respond_to?
fails(windows):Kernel#fork raises a NotImplementedError when called
fails(windows):Kernel.fork returns false from #respond_to?
fails(windows):Kernel.fork raises a NotImplementedError when called
2 changes: 2 additions & 0 deletions spec/truffle/tags/core-windows/kernel/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fails(windows):Kernel#spawn raises an ArgumentError if given :pgroup option
fails(windows):Kernel.spawn raises an ArgumentError if given :pgroup option
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows bug):Method#source_location sets the first value to the path of the file in which the method was defined
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/process/daemon_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process.daemon raises a NotImplementedError when called
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/process/fork_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process.fork raises a NotImplementedError when called
1 change: 1 addition & 0 deletions spec/truffle/tags/core-windows/process/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process.spawn raises an ArgumentError if given :pgroup option
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process::Status#exited? for a terminated child always returns true
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process::Status#signaled? for a terminated child always returns false
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process::Status#success? for a child that was terminated always returns true
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fails(windows):Process::Status#termsig for a child that was sent a signal always returns nil
File renamed without changes.
1 change: 0 additions & 1 deletion spec/truffle/tags/core/class/inherited_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Class.inherited is invoked with the child Class when self is subclassed
fails(windows bug):Class.inherited is invoked only once per subclass
1 change: 0 additions & 1 deletion spec/truffle/tags/core/dir/fileno_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Dir#fileno returns the file descriptor of the dir
fails(windows):Dir#fileno raises an error
7 changes: 0 additions & 7 deletions spec/truffle/tags/core/encoding/converter/convpath_tags.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
fails:Encoding::Converter#convpath indicates if crlf_newline conversion would occur
slow:Encoding::Converter#convpath returns an Array
slow:Encoding::Converter#convpath returns each encoding pair as a sub-Array
slow:Encoding::Converter#convpath returns each encoding as an Encoding object
slow:Encoding::Converter#convpath returns multiple encoding pairs when direct conversion is impossible
slow:Encoding::Converter#convpath sets the last element of each pair to the first element of the next
slow:Encoding::Converter#convpath only lists a source encoding once
slow:Encoding::Converter#convpath indicates if crlf_newline conversion would occur
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
fails:Encoding::Converter.search_convpath returns multiple encoding pairs when direct conversion is impossible
fails:Encoding::Converter.search_convpath indicates if crlf_newline conversion would occur
fails:Encoding::Converter.search_convpath raises an Encoding::ConverterNotFoundError if no conversion path exists
slow:Encoding::Converter.search_convpath returns an Array
slow:Encoding::Converter.search_convpath returns each encoding pair as a sub-Array
slow:Encoding::Converter.search_convpath returns each encoding as an Encoding object
slow:Encoding::Converter.search_convpath returns multiple encoding pairs when direct conversion is impossible
slow:Encoding::Converter.search_convpath sets the last element of each pair to the first element of the next
slow:Encoding::Converter.search_convpath only lists a source encoding once
slow:Encoding::Converter.search_convpath indicates if crlf_newline conversion would occur
slow:Encoding::Converter.search_convpath raises an Encoding::ConverterNotFoundError if no conversion path exists
1 change: 0 additions & 1 deletion spec/truffle/tags/core/encoding/dummy_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails(inherited):Encoding#dummy? returns true for dummy encodings
fails(windows bug):Encoding#dummy? returns true for dummy encodings
1 change: 0 additions & 1 deletion spec/truffle/tags/core/encoding/find_tags.txt
Original file line number Diff line number Diff line change
@@ -10,4 +10,3 @@ fails:Encoding.find supports the 'locale' encoding alias
fails:Encoding.find returns default external encoding for the 'external' encoding alias
fails:Encoding.find returns default internal encoding for the 'internal' encoding alias
fails:Encoding.find uses default external encoding for the 'filesystem' encoding alias
fails(windows - Encoding.aliases):Encoding.find needs to be reviewed for spec completeness
4 changes: 0 additions & 4 deletions spec/truffle/tags/core/file/basename_tags.txt
Original file line number Diff line number Diff line change
@@ -9,7 +9,3 @@ fails:File.basename raises a TypeError if the arguments are not String types
fails:File.basename accepts an object that has a #to_path method
fails:File.basename raises an ArgumentError if passed more than two arguments
fails:File.basename returns the extension for a multibyte filename
fails(windows):File.basename returns the basename for windows
fails(windows):File.basename returns basename windows unc
fails(windows):File.basename returns basename windows forward slash
fails(windows):File.basename returns basename with windows suffix
4 changes: 0 additions & 4 deletions spec/truffle/tags/core/file/chmod_tags.txt
Original file line number Diff line number Diff line change
@@ -18,7 +18,3 @@ fails:File.chmod with '0444' makes file readable but not writable or executable
fails:File.chmod with '0666' makes file readable and writable but not executable
fails:File.chmod with '0111' makes file executable but not readable or writable
fails:File.chmod modifies the permission bits of the files specified
fails(windows):File#chmod with '0444' makes file readable and executable but not writable
fails(windows):File#chmod with '0644' makes file readable and writable and also executable
fails(windows):File.chmod with '0444' makes file readable and executable but not writable
fails(windows):File.chmod with '0644' makes file readable and writable and also executable
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/constants/constants_tags.txt
Original file line number Diff line number Diff line change
@@ -17,4 +17,3 @@ fails:File::Constants::TRUNC is defined
fails:File::Constants::WRONLY is defined
fails:File::Constants::NOCTTY is defined
fails:File::Constants::SYNC is defined
fails(windows):File::Constants::BINARY is defined
6 changes: 0 additions & 6 deletions spec/truffle/tags/core/file/dirname_tags.txt
Original file line number Diff line number Diff line change
@@ -2,9 +2,3 @@ fails:File.dirname returns all the components of filename except the last one
fails:File.dirname returns all the components of filename except the last one (edge cases on all platforms)
fails:File.dirname returns all the components of filename except the last one (edge cases on non-windows)
fails:File.dirname accepts an object that has a #to_path method
fails(windows):File.dirname returns all the components of filename except the last one (edge cases on windows)
fails(windows):File.dirname returns the return all the components of filename except the last one (Windows format)
fails(windows):File.dirname returns the return all the components of filename except the last one (windows unc)
fails(windows):File.dirname returns the return all the components of filename except the last one (forward_slash)
fails(windows bug):File.dirname ignores a trailing /
fails(windows bug):File.dirname returns the return all the components of filename except the last one (unix format)
7 changes: 0 additions & 7 deletions spec/truffle/tags/core/file/expand_path_tags.txt
Original file line number Diff line number Diff line change
@@ -14,10 +14,3 @@ fails:File.expand_path does not modify a HOME string argument
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~/' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME == ''
fails(windows):File.expand_path does not return a frozen string
fails(windows):File.expand_path expands C:/./dir to C:/dir
fails(windows bug):File.expand_path converts a pathname to an absolute pathname, Ruby-Talk:18512
fails(windows bug):File.expand_path converts a pathname to an absolute pathname, using a complete path
fails(windows bug):File.expand_path raises a TypeError if not passed a String type
fails(windows bug):File.expand_path does not modify the string argument
fails(windows bug):File.expand_path returns a String when passed a String subclass
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/file/file_tags.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
fails:File includes File::Constants
fails:File.file? accepts an object that has a #to_path method
fails(windows bug):File.file? returns true if the named file exists and is a regular file.
fails(windows bug):File.file? raises an ArgumentError if not passed one argument
fails(windows bug):File.file? raises a TypeError if not passed a String type
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/fnmatch_tags.txt
Original file line number Diff line number Diff line change
@@ -64,5 +64,3 @@ fails:File.fnmatch? accepts an object that has a #to_path method
fails:File.fnmatch? raises a TypeError if the first and second arguments are not string-like
fails:File.fnmatch? raises a TypeError if the third argument is not an Integer
fails:File.fnmatch? does not raise a TypeError if the third argument can be coerced to an Integer
fails(windows):File.fnmatch matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
fails(windows):File.fnmatch? matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/grpowned_tags.txt
Original file line number Diff line number Diff line change
@@ -2,4 +2,3 @@ fails:File.grpowned? returns true if the file exist
fails:File.grpowned? accepts an object that has a #to_path method
fails:File.grpowned? takes non primary groups into account
fails:File.grpowned? returns false if file the does not exist
fails(windows):File.grpowned? returns false if the file exist
5 changes: 0 additions & 5 deletions spec/truffle/tags/core/file/join_tags.txt
Original file line number Diff line number Diff line change
@@ -10,8 +10,3 @@ fails:File.join raises a TypeError exception when args are nil
fails:File.join calls #to_str
fails:File.join doesn't mutate the object when calling #to_str
fails:File.join calls #to_path
fails(windows):File.join respects given separator if only one part has a boundary separator
fails(windows bug):File.join joins parts using File::SEPARATOR if there are no boundary separators
fails(windows bug):File.join supports any number of arguments
fails(windows bug):File.join flattens nested arrays
fails(windows bug):File.join inserts the separator in between empty strings and arrays
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/null_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:File::NULL returns /dev/null as a string
fails(windows):File::NULL returns NUL as a string
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/path_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:File#path returns the pathname used to create file as a string
fails(windows bug):File.path returns the full path for the given file
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/read_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:File.read raises an Errno::EISDIR when passed a path that is a directory
fails(windows):File.read raises an Errno::EACCES when passed a path that is a directory
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/file/size_tags.txt
Original file line number Diff line number Diff line change
@@ -17,6 +17,3 @@ fails:File#size returns the file's current size even if modified
fails:File#size raises an IOError on a closed file
fails:File#size follows symlinks if necessary
fails:File#size for an empty file returns 0
fails(windows bug):File.size? returns the size of the file if it exists and is not empty
fails(windows bug):File.size? returns nil if file_name doesn't exist or has 0 size
fails(windows bug):File.size? returns nil if file_name is empty
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/file_tags.txt
Original file line number Diff line number Diff line change
@@ -2,4 +2,3 @@ fails:File::Stat#file? returns true if the named file exists and is a regular fi
fails:File::Stat#file? accepts an object that has a #to_path method
fails:File::Stat#file? returns true if the null device exists and is a regular file.
fails:File::Stat#file? raises a TypeError if not passed a String type
fails(windows bug):File::Stat#file? raises an ArgumentError if not passed one argument
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/stat/grpowned_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File::Stat#grpowned? returns true if the file exist
fails:File::Stat#grpowned? accepts an object that has a #to_path method
fails:File::Stat#grpowned? takes non primary groups into account
fails(windows):File::Stat#grpowned? returns false if the file exist
Loading