Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Frozen Regexp
ruby 2.3.0dev (2015-08-21 trunk 51626) [x86_64-linux]
1)
Processing RUBYOPT prints the version number for '-v' FAILED
Expected "ruby 2.3.0dev (2015-08-21 trunk 51626) [x86_64-linux]"
to equal "ruby 2.3.0dev (2015-08-21 trunk 51650) [x86_64-linux]"
/mnt/sdb1/ruby/trunk/spec/rubyspec/command_line/rubyopt_spec.rb:27:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/command_line/rubyopt_spec.rb:3:in `<top (required)>'
2)
Array#flatten with a non-Array object in the Array does not call #to_ary if not defined when #respond_to_missing? returns false FAILED
Expected [[:to_ary, true]]
to equal [[:to_ary, false]]
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:109:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:4:in `<top (required)>'
3)
Array#flatten with a non-Array object in the Array calls #to_ary if not defined when #respond_to_missing? returns true FAILED
Expected [[:to_ary, true], [:to_ary, false]]
to equal [[:to_ary, false]]
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:116:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:4:in `<top (required)>'
4)
Array#flatten with a non-Array object in the Array calls #method_missing if defined FAILED
Expected [#<MockObject:0x00000000ecbd00 @name="Array#flatten", @null=nil>]
to equal [1, 2, 3]
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:121:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:4:in `<top (required)>'
5)
An exception occurred during: Mock.verify_count
Array#flatten with a non-Array object in the Array calls #method_missing if defined FAILED
Mock 'Array#flatten' expected to receive 'method_missing' exactly 1 times
but received it 0 times
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/array/flatten_spec.rb:4:in `<top (required)>'
6)
Marshal.dump with a Regexp dumps a Regexp with instance variables ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:261:in `instance_variable_set'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:261:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:6:in `<top (required)>'
7)
Marshal.dump with a Regexp dumps an extended Regexp ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:266:in `extend_object'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:266:in `extend'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:266:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/dump_spec.rb:6:in `<top (required)>'
8)
Marshal.load loads a Regexp subclass /i ERROR
RuntimeError: can't modify frozen UserRegexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:273:in `load'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:273:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/load_spec.rb:4:in `<top (required)>'
9)
Marshal.load for a Regexp loads an extended Regexp ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `extend_object'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `extend'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/load_spec.rb:4:in `<top (required)>'
10)
Marshal.load for a Regexp loads a extended_user_regexp having ivar ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `extend_object'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `extend'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/load_spec.rb:4:in `<top (required)>'
11)
Marshal.restore loads a Regexp subclass /i ERROR
RuntimeError: can't modify frozen UserRegexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:273:in `restore'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:273:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/restore_spec.rb:4:in `<top (required)>'
12)
Marshal.restore for a Regexp loads an extended Regexp ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `extend_object'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `extend'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:550:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/restore_spec.rb:4:in `<top (required)>'
13)
Marshal.restore for a Regexp loads a extended_user_regexp having ivar ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `extend_object'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `extend'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/shared/load.rb:560:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/marshal/restore_spec.rb:4:in `<top (required)>'
14)
Regexp.compile works by default for subclasses with overridden #initialize ERROR
RuntimeError: can't modify frozen RegexpSpecsSubclass
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:10:in `initialize'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:18:in `compile'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:18:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/compile_spec.rb:5:in `<top (required)>'
15)
Regexp.compile works by default for subclasses with overridden #initialize ERROR
RuntimeError: can't modify frozen RegexpSpecsSubclass
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:12:in `initialize'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:20:in `compile'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:20:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/compile_spec.rb:5:in `<top (required)>'
16)
Regexp#initialize raises a SecurityError on a Regexp literal FAILED
Expected SecurityError but got RuntimeError (can't modify frozen Regexp)
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/initialize_spec.rb:9:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/initialize_spec.rb:3:in `<top (required)>'
17)
Regexp#initialize raises a TypeError on an initialized non-literal Regexp FAILED
Expected TypeError but got RuntimeError (can't modify frozen Regexp)
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/initialize_spec.rb:13:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/initialize_spec.rb:3:in `<top (required)>'
18)
Regexp.new works by default for subclasses with overridden #initialize ERROR
RuntimeError: can't modify frozen RegexpSpecsSubclass
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:10:in `initialize'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:18:in `new'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii.rb:18:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/new_spec.rb:5:in `<top (required)>'
19)
Regexp.new works by default for subclasses with overridden #initialize ERROR
RuntimeError: can't modify frozen RegexpSpecsSubclass
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:12:in `initialize'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:20:in `new'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/shared/new_ascii_8bit.rb:20:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/regexp/new_spec.rb:5:in `<top (required)>'
20)
String#[] with Regexp always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:290:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:290:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:285:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:285:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/element_reference_spec.rb:17:in `<top (required)>'
21)
String#[] with Regexp returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:297:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:297:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/element_reference_spec.rb:17:in `<top (required)>'
22)
String#[] with Regexp, index always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:345:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:345:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:335:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:335:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/element_reference_spec.rb:21:in `<top (required)>'
23)
String#[] with Regexp, index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:355:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:355:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/element_reference_spec.rb:21:in `<top (required)>'
24)
String#[] with Regexp, group always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:486:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:486:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:476:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:476:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/element_reference_spec.rb:25:in `<top (required)>'
25)
String#gsub with pattern and replacement taints the result if the original string or replacement is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:187:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:187:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:14:in `<top (required)>'
26)
String#gsub with pattern and replacement untrusts the result if the original string or replacement is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:213:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:213:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:14:in `<top (required)>'
27)
String#gsub with pattern and block untrusts the result if the original string or replacement is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:531:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:531:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:443:in `<top (required)>'
28)
String#gsub! with pattern and replacement taints self if replacement is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:588:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:588:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:579:in `<top (required)>'
29)
String#gsub! with pattern and replacement untrusts self if replacement is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:594:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:594:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:579:in `<top (required)>'
30)
String#gsub! with pattern and block taints self if block's result is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:625:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:625:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:616:in `<top (required)>'
31)
String#gsub! with pattern and block untrusts self if block's result is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:631:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:631:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/gsub_spec.rb:616:in `<top (required)>'
32)
String#match calls match on the regular expression ERROR
RuntimeError: can't modify frozen object
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/match_spec.rb:147:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/match_spec.rb:54:in `<top (required)>'
33)
String#scan taints the results if the Regexp argument is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:90:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:90:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:5:in `<top (required)>'
34)
String#scan with pattern and block taints the results if the Regexp argument is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:189:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:189:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/scan_spec.rb:100:in `<top (required)>'
35)
String#slice with Regexp always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:290:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:290:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:285:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:285:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:19:in `<top (required)>'
36)
String#slice with Regexp returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:297:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:297:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:19:in `<top (required)>'
37)
String#slice with Regexp, index always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:345:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:345:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:335:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:335:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:23:in `<top (required)>'
38)
String#slice with Regexp, index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:355:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:355:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:23:in `<top (required)>'
39)
String#slice with Regexp, group always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:486:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:486:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:476:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/shared/slice.rb:476:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:27:in `<top (required)>'
40)
String#slice! with Regexp always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:290:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:290:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:284:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:284:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:263:in `<top (required)>'
41)
String#slice! with Regexp doesn't taint self when regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:298:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:298:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:263:in `<top (required)>'
42)
String#slice! with Regexp, index always taints resulting strings when self or regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:351:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:351:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:345:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:345:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:332:in `<top (required)>'
43)
String#slice! with Regexp, index doesn't taint self when regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:359:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:359:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/slice_spec.rb:332:in `<top (required)>'
44)
String#split with Regexp doesn't taints the resulting strings if the Regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:371:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:371:in `block (5 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:370:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:370:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:369:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:369:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:368:in `each'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:368:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/split_spec.rb:184:in `<top (required)>'
45)
String#sub with pattern, replacement taints the result if the original string or replacement is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:149:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:149:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:4:in `<top (required)>'
46)
String#sub with pattern and block taints the result if the original string or replacement is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:297:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:297:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:220:in `<top (required)>'
47)
String#sub! with pattern, replacement taints self if replacement is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:310:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:310:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:301:in `<top (required)>'
48)
String#sub! with pattern and block taints self if block's result is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:358:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:358:in `block (2 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/string/sub_spec.rb:331:in `<top (required)>'
49)
Symbol#[] with a Regex slice without a capture index returns a tainted string if the regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:195:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:195:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/element_reference_spec.rb:4:in `<top (required)>'
50)
Symbol#[] with a Regex slice without a capture index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:199:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:199:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/element_reference_spec.rb:4:in `<top (required)>'
51)
Symbol#[] with a Regex slice with a capture index returns a tainted string if the regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:223:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:223:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/element_reference_spec.rb:4:in `<top (required)>'
52)
Symbol#[] with a Regex slice with a capture index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:227:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:227:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/element_reference_spec.rb:4:in `<top (required)>'
53)
Symbol#slice with a Regex slice without a capture index returns a tainted string if the regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:195:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:195:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/slice_spec.rb:4:in `<top (required)>'
54)
Symbol#slice with a Regex slice without a capture index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:199:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:199:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/slice_spec.rb:4:in `<top (required)>'
55)
Symbol#slice with a Regex slice with a capture index returns a tainted string if the regexp is tainted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:223:in `taint'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:223:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/slice_spec.rb:4:in `<top (required)>'
56)
Symbol#slice with a Regex slice with a capture index returns an untrusted string if the regexp is untrusted ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:227:in `untrust'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/shared/slice.rb:227:in `block (4 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/symbol/slice_spec.rb:4:in `<top (required)>'
[/ | ==================48% | 00:02:00] 7F 49E/mnt/sdb1/ruby/trunk/tool/runruby.rb:70: warning: Insecure world writable dir /home/ko1/src/ruby/trunk/spec/rubyspec/core/thread/backtrace/location/fixtures in PATH, mode 040777
[- | ==================48% | 00:02:00] 7F 49E/mnt/sdb1/ruby/trunk/tool/runruby.rb:70: warning: Insecure world writable dir /home/ko1/src/ruby/trunk/spec/rubyspec/core/thread/backtrace/location/fixtures in PATH, mode 040777
[\ | ==================48% | 00:02:00] 7F 49E/mnt/sdb1/ruby/trunk/tool/runruby.rb:70: warning: Insecure world writable dir /home/ko1/src/ruby/trunk/spec/rubyspec/core/thread/backtrace/location in PATH, mode 040777
57)
C-API Encoding function rb_enc_copy sets the encoding of a Regexp to that of the second argument ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:324:in `rb_enc_copy'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:324:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:59:in `<top (required)>'
58)
C-API Encoding function rb_enc_associate sets the encoding of a Regexp to the encoding ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:383:in `rb_enc_associate'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:383:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:59:in `<top (required)>'
59)
C-API Encoding function rb_enc_associate_index sets the encoding of a Regexp to the encoding ERROR
RuntimeError: can't modify frozen Regexp
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:400:in `rb_enc_associate_index'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:400:in `block (3 levels) in <top (required)>'
/mnt/sdb1/ruby/trunk/spec/rubyspec/optional/capi/encoding_spec.rb:59:in `<top (required)>'
[| | ==================100%================== | 00:00:00] 7F 52E
Finished in 173.532876 seconds
3465 files, 24680 examples, 174332 expectations, 7 failures, 52 errors, 0 tagged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.