Skip to content

Commit cde880b

Browse files
rwstaunerandrykonchin
authored andcommitted
Remove "fails:" tags after tool/run_each_spec.rb
There were a few other fails tags with parameters that I didn't include: spec/tags/core/file/ftype_tags.txt -fails(depends on cwd length):File.ftype returns 'socket' when the file is a socket spec/tags/core/process/kill_tags.txt -fails(flaky):Process.kill signals the process group if the short signal name starts with a minus sign spec/tags/core/process/setpriority_tags.txt -fails(with EACCES Permission denied in some CIs):Process.setpriority sets the scheduling priority for a specified process group spec/tags/core/process/spawn_tags.txt -fails(spurious failure):Process.spawn when passed close_others: false does not close file descriptors >= 3 in the child process if fds are set close_on_exec=false -fails(spurious failure):Process.spawn when passed close_others: false closes file descriptors >= 3 in the child process because they are set close_on_exec by default -fails(spurious failure):Process.spawn when passed close_others: true closes file descriptors >= 3 in the child process even if fds are set close_on_exec=false spec/tags/core/thread/raise_tags.txt -fails(spurious failure):Thread#raise on a running thread can go unhandled
1 parent 90bfaa0 commit cde880b

31 files changed

+0
-61
lines changed

spec/tags/core/binding/irb_tags.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
slow:Binding#irb creates an IRB session with the binding in scope
2-
fails:Binding#irb creates an IRB session with the binding in scope

spec/tags/core/dir/element_reference_tags.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
fails:Dir.[] result is sorted by default
2-
fails:Dir.[] result is sorted with sort: true
3-
fails:Dir.[] sort: false returns same files
41
fails:Dir.[] raises an ArgumentError if sort: is not true or false
52
fails:Dir.[] matches dotfiles except .. with '.*'
63
fails:Dir.[] matches dotfiles in the current directory except .. with '.**'

spec/tags/core/encoding/list_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
fails:Enumerator.new when passed a block defines iteration with block, yielder argument and treating it as a proc
21
fails:Enumerator.new no block given raises

spec/tags/core/exception/no_method_error_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/tags/core/file/expand_path_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ slow:File.expand_path raises an Encoding::CompatibilityError if the external enc
1919
slow:File.expand_path does not modify the string argument
2020
slow:File.expand_path does not modify a HOME string argument
2121
slow:File.expand_path returns a String when passed a String subclass
22-
fails:File.expand_path when HOME is not set uses the user database when passed '~' if HOME is nil
23-
fails:File.expand_path when HOME is not set uses the user database when passed '~/' if HOME is nil

spec/tags/core/file/printf_tags.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,5 @@ fails:File#printf other formats c supports Unicode characters
33
fails:File#printf other formats s does not try to convert with to_str
44
fails:File#printf flags # applies to format o does nothing for negative argument
55
fails:File#printf flags # applies to formats bBxX does nothing for zero argument
6-
fails:File#printf flags # applies to formats aAeEfgG forces a decimal point to be added, even if no digits follow
7-
fails:File#printf flags # applies to gG does not remove trailing zeros
8-
fails:File#printf flags - left-justifies the result of conversion if width is specified
9-
fails:File#printf flags 0 (zero) applies to numeric formats bBdiouxXaAeEfgG and width is specified uses radix-1 when displays negative argument as a two's complement
10-
fails:File#printf flags * left-justifies the result if width is negative
11-
fails:File#printf flags * left-justifies the result if specified with $ argument is negative
12-
fails:File#printf precision string formats determines the maximum number of characters to be copied from the string
13-
fails:File#printf reference by name %{name} style supports flags, width and precision
14-
fails:File#printf other formats % alone raises an ArgumentError
156
fails:File#printf other formats c displays only the first character if argument is a string of several characters
167
fails:File#printf other formats c displays no characters if argument is an empty string

spec/tags/core/integer/chr_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/tags/core/io/for_fd_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
fails:IO.for_fd ignores the :encoding option when the :external_encoding option is present
22
fails:IO.for_fd ignores the :encoding option when the :internal_encoding option is present
3-
fails:IO.for_fd raises ArgumentError for nil options
4-
fails:IO.for_fd raises ArgumentError if passed a hash for mode and nil for options

spec/tags/core/io/new_tags.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
fails:IO.new ignores the :encoding option when the :external_encoding option is present
22
fails:IO.new ignores the :encoding option when the :internal_encoding option is present
3-
fails:IO.new raises ArgumentError for nil options
4-
fails:IO.new raises ArgumentError if passed a hash for mode and nil for options

0 commit comments

Comments
 (0)