<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test, branch v3_2_4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Backport https://github.com/ruby/ruby/pull/9240 to Ruby 3.2</title>
<updated>2024-04-08T09:40:47+00:00</updated>
<author>
<name>KJ Tsanaktsidis</name>
<email>ktsanaktsidis@zendesk.com</email>
</author>
<published>2024-03-28T04:57:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=06049fe98ef6eced6ccf6028621f3e10edeedccb'/>
<id>06049fe98ef6eced6ccf6028621f3e10edeedccb</id>
<content type='text'>
Merged into master in 7ba2506232d3fa6c4e82e3708c0ff746a1a8de5c

[Bug #20050]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merged into master in 7ba2506232d3fa6c4e82e3708c0ff746a1a8de5c

[Bug #20050]
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) d3279a0c11ca45ca85027e7eb74dc4aac52c478b: [Backport #20327]</title>
<updated>2024-04-07T05:53:48+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-04-07T05:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e6bf38a6e7fbae0097fdf51e3c752820a2c58ae4'/>
<id>e6bf38a6e7fbae0097fdf51e3c752820a2c58ae4</id>
<content type='text'>
	[Bug #20327] Do not count subsecond to calculate UTC offset

	Assume that there will never be any time zones with UTC offsets that
	are subseconds.  Historically, UTC offset has only been used down to
	the second.
	---
	 test/ruby/test_time_tz.rb | 8 ++++++++
	 time.c                    | 2 +-
	 2 files changed, 9 insertions(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20327] Do not count subsecond to calculate UTC offset

	Assume that there will never be any time zones with UTC offsets that
	are subseconds.  Historically, UTC offset has only been used down to
	the second.
	---
	 test/ruby/test_time_tz.rb | 8 ++++++++
	 time.c                    | 2 +-
	 2 files changed, 9 insertions(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2: [Backport #20245]</title>
<updated>2024-03-31T08:37:01+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-03-31T08:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=27606daf8efeb0ae6d0590a2c9bb1c5aae07f140'/>
<id>27606daf8efeb0ae6d0590a2c9bb1c5aae07f140</id>
<content type='text'>
	Compile code without Symbol GC always

	---
	 symbol.c | 28 +++++++++++++---------------
	 1 file changed, 13 insertions(+), 15 deletions(-)

	Fix crash when checking symbol encoding

	[Bug #20245]

	We sometimes pass in a fake string to sym_check_asciionly. This can crash
	if sym_check_asciionly raises because it creates a CFP with the fake
	string as the receiver which will crash if GC tries to mark the CFP.

	For example, the following script crashes:

	    GC.stress = true
	    Object.const_defined?("\xC3")
	---
	 symbol.c                 | 17 ++++++++++-------
	 test/ruby/test_module.rb |  8 ++++++++
	 2 files changed, 18 insertions(+), 7 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Compile code without Symbol GC always

	---
	 symbol.c | 28 +++++++++++++---------------
	 1 file changed, 13 insertions(+), 15 deletions(-)

	Fix crash when checking symbol encoding

	[Bug #20245]

	We sometimes pass in a fake string to sym_check_asciionly. This can crash
	if sym_check_asciionly raises because it creates a CFP with the fake
	string as the receiver which will crash if GC tries to mark the CFP.

	For example, the following script crashes:

	    GC.stress = true
	    Object.const_defined?("\xC3")
	---
	 symbol.c                 | 17 ++++++++++-------
	 test/ruby/test_module.rb |  8 ++++++++
	 2 files changed, 18 insertions(+), 7 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) ade56737e2273847426214035c0ff2340b43799a: [Backport #20190]</title>
<updated>2024-03-31T08:18:55+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-03-31T08:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4f3ed07d5bfd581b630e4afc8b9bb170ce781e7f'/>
<id>4f3ed07d5bfd581b630e4afc8b9bb170ce781e7f</id>
<content type='text'>
	Fix coderange of invalid_encoding_string.&lt;&lt;(ord)

	Appending valid encoding character can change coderange from invalid to valid.
	Example: "\x95".force_encoding('sjis')&lt;&lt;0x5C will be a valid string "\x{955C}"
	---
	 string.c                 | 6 +++++-
	 test/ruby/test_string.rb | 3 +++
	 2 files changed, 8 insertions(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix coderange of invalid_encoding_string.&lt;&lt;(ord)

	Appending valid encoding character can change coderange from invalid to valid.
	Example: "\x95".force_encoding('sjis')&lt;&lt;0x5C will be a valid string "\x{955C}"
	---
	 string.c                 | 6 +++++-
	 test/ruby/test_string.rb | 3 +++
	 2 files changed, 8 insertions(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) b14674b236445fb70f484603e678722760f678f4: [Backport #20194]</title>
<updated>2024-03-31T08:17:34+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-03-31T08:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b5c74a2408d248f35cb811327dd51f49ee37c9e'/>
<id>1b5c74a2408d248f35cb811327dd51f49ee37c9e</id>
<content type='text'>
	Memory leak with TracePoint on bmethod

	[Bug #20194]

	When disabling the TracePoint on bmethod, the hooks list is not freed.

	For example:

	    obj = Object.new
	    obj.define_singleton_method(:foo) {}
	    bmethod = obj.method(:foo)
	    tp = TracePoint.new(:return) {}

	    10.times do
	      100_000.times do
	        tp.enable(target: bmethod) {}
	      end

	      puts `ps -o rss= -p #{$$}`
	    end

	Before:

	    18208
	    22832
	    26528
	    29728
	    34000
	    37776
	    40864
	    44400
	    47680
	    51504

	After:

	    16688
	    17168
	    17168
	    17248
	    17696
	    17760
	    17824
	    17824
	    17856
	    17920
	---
	 test/ruby/test_settracefunc.rb | 13 +++++++++++++
	 vm_trace.c                     |  1 +
	 2 files changed, 14 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Memory leak with TracePoint on bmethod

	[Bug #20194]

	When disabling the TracePoint on bmethod, the hooks list is not freed.

	For example:

	    obj = Object.new
	    obj.define_singleton_method(:foo) {}
	    bmethod = obj.method(:foo)
	    tp = TracePoint.new(:return) {}

	    10.times do
	      100_000.times do
	        tp.enable(target: bmethod) {}
	      end

	      puts `ps -o rss= -p #{$$}`
	    end

	Before:

	    18208
	    22832
	    26528
	    29728
	    34000
	    37776
	    40864
	    44400
	    47680
	    51504

	After:

	    16688
	    17168
	    17168
	    17248
	    17696
	    17760
	    17824
	    17824
	    17856
	    17920
	---
	 test/ruby/test_settracefunc.rb | 13 +++++++++++++
	 vm_trace.c                     |  1 +
	 2 files changed, 14 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 64b6a018a38f200c957fdbbe7d0cbe0e64781c9f:</title>
<updated>2024-03-21T12:15:02+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-03-21T12:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0a2238d509c158fb5539c0d7dd42d8e3faec6ead'/>
<id>0a2238d509c158fb5539c0d7dd42d8e3faec6ead</id>
<content type='text'>
	Fix test session reuse but expire (#9824)

	* OpenSSL 3.2.1 30 Jan 2024 is also broken

	Import 45064610725ddd81a5ea3775da35aa46985bc789 from ruby_3_3 branch
	tentatively.
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix test session reuse but expire (#9824)

	* OpenSSL 3.2.1 30 Jan 2024 is also broken

	Import 45064610725ddd81a5ea3775da35aa46985bc789 from ruby_3_3 branch
	tentatively.
	---
	 test/net/http/test_https.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) f15123c34ce80f3928612befe2a9aaf4c9d27fda: [Backport #18743]</title>
<updated>2024-02-25T09:29:16+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-02-25T09:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5e4606423da96c2e26b00981c22bddfce0d970bf'/>
<id>5e4606423da96c2e26b00981c22bddfce0d970bf</id>
<content type='text'>
	Fix stack trace for rescued StopIteration

	---
	 enumerator.c                 | 15 +++++++++++++--
	 test/ruby/test_enumerator.rb | 20 ++++++++++++++++++++
	 2 files changed, 33 insertions(+), 2 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix stack trace for rescued StopIteration

	---
	 enumerator.c                 | 15 +++++++++++++--
	 test/ruby/test_enumerator.rb | 20 ++++++++++++++++++++
	 2 files changed, 33 insertions(+), 2 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "merge revision(s) c8d162c889008028b148437d02f36f4edaa749fd: [Backport #19973]"</title>
<updated>2024-02-25T05:03:05+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-02-25T05:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b9ff146e38c348519434754e0466352b8b25c50'/>
<id>1b9ff146e38c348519434754e0466352b8b25c50</id>
<content type='text'>
This reverts commit 24dd529750c08b5603fb418a4f34998b9bf6c8f9.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 24dd529750c08b5603fb418a4f34998b9bf6c8f9.
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) c8d162c889008028b148437d02f36f4edaa749fd: [Backport #19973]</title>
<updated>2024-02-25T02:52:05+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2024-02-25T02:52:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=24dd529750c08b5603fb418a4f34998b9bf6c8f9'/>
<id>24dd529750c08b5603fb418a4f34998b9bf6c8f9</id>
<content type='text'>
	[Bug #19973] Warn duplicated keyword arguments after keyword splat

	---
	 parse.y                  | 11 +++++++----
	 test/ruby/test_syntax.rb |  6 ++++++
	 2 files changed, 13 insertions(+), 4 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #19973] Warn duplicated keyword arguments after keyword splat

	---
	 parse.y                  | 11 +++++++----
	 test/ruby/test_syntax.rb |  6 ++++++
	 2 files changed, 13 insertions(+), 4 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>readline: Skip the test_interrupt_in_other_thread on arm32.</title>
<updated>2024-01-31T10:43:45+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>jaruga@redhat.com</email>
</author>
<published>2024-01-03T16:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aefc98891c42024039f19ef45bdfe93fbc590b7c'/>
<id>aefc98891c42024039f19ef45bdfe93fbc590b7c</id>
<content type='text'>
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had already been skipped in .travis.yml
before updating .travis.yml.
https://github.com/ruby/ruby/blob/7b05cb8dbbd637910757f402e64da3908b4bb809/.travis.yml#L99-L101

Note that RUBY_PLATFORM is "armv8l-linux-eabihf" on Travis arm32 pipeline.
And the readline was deleted in both master and ruby_3_3 branches.
https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535

So, we only need this commit on ruby_3_2 and older Ruby version branches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip the test_interrupt_in_other_thread test failing on Travis arm32.
The failing test is not a new issue. It had already been skipped in .travis.yml
before updating .travis.yml.
https://github.com/ruby/ruby/blob/7b05cb8dbbd637910757f402e64da3908b4bb809/.travis.yml#L99-L101

Note that RUBY_PLATFORM is "armv8l-linux-eabihf" on Travis arm32 pipeline.
And the readline was deleted in both master and ruby_3_3 branches.
https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535

So, we only need this commit on ruby_3_2 and older Ruby version branches.
</pre>
</div>
</content>
</entry>
</feed>
