<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_process.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Remove automatically set environment variables</title>
<updated>2025-10-25T13:42:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-10-25T12:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8e3957cc760ddc55cfb55993b70e9f4c1a230ac2'/>
<id>8e3957cc760ddc55cfb55993b70e9f4c1a230ac2</id>
<content type='text'>
Probably since macOS Runner Image Version 20251020.XXXX, spawned
processes initialize `TMPDIR` environment variable under the hood.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Probably since macOS Runner Image Version 20251020.XXXX, spawned
processes initialize `TMPDIR` environment variable under the hood.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add configured environment variables first</title>
<updated>2025-10-25T13:42:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-10-25T12:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=af8c448129f07faf55248e583a7e5a1b8d55600f'/>
<id>af8c448129f07faf55248e583a7e5a1b8d55600f</id>
<content type='text'>
And `LD_PRELOAD` is set to `PRELOADENV` on Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And `LD_PRELOAD` is set to `PRELOADENV` on Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip TestProcess#test_rlimit_nofile on LSAN</title>
<updated>2025-10-10T00:35:02+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-10-08T01:04:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=42bbe9a075807fe578fd2680a7c64b80b7c2e24f'/>
<id>42bbe9a075807fe578fd2680a7c64b80b7c2e24f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add RUBY_FREE_AT_EXIT to MANDATORY_ENVS in test_process.rb</title>
<updated>2025-10-08T21:27:31+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-10-06T21:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86d97331da420069b257c5af8f32ead3a2474cc1'/>
<id>86d97331da420069b257c5af8f32ead3a2474cc1</id>
<content type='text'>
We need to keep RUBY_FREE_AT_EXIT in these tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to keep RUBY_FREE_AT_EXIT in these tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests using assert_raise_with_message on US-ASCII systems</title>
<updated>2025-08-16T02:42:07+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-08-16T01:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87c4ebd00115b9424f04813b4dd5f3d087a14eb9'/>
<id>87c4ebd00115b9424f04813b4dd5f3d087a14eb9</id>
<content type='text'>
On systems where the Encoding.default_internal defaults to US-ASCII instead
of UTF-8, some tests using assert_raise_with_message can fail since it no
longer changes Encoding.default_internal in 79f5202.

This tests explicitly uses EnvUtil.with_default_internal on systems where
these tests fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On systems where the Encoding.default_internal defaults to US-ASCII instead
of UTF-8, some tests using assert_raise_with_message can fail since it no
longer changes Encoding.default_internal in 79f5202.

This tests explicitly uses EnvUtil.with_default_internal on systems where
these tests fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>test_process.rb: UID.from_name may raise Errno::ENOENT</title>
<updated>2025-07-16T17:42:22+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-07-16T17:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=27964795892ffd2568d8379be195a2ba6101ccd2'/>
<id>27964795892ffd2568d8379be195a2ba6101ccd2</id>
<content type='text'>
See: 58bc97628c1

getpwnam(3) says the same thing. I got ENOENT in my Linux environment.

  1) Failure:
TestProcess#test_uid_from_name [/home/k0kubun/src/github.com/ruby/ruby/test/ruby/test_process.rb:1685]:
Exception(ArgumentError) with message matches to /\u{4e0d 5b58 5728}/.
[ArgumentError] exception expected, not #&lt;Errno::ENOENT: No such file or directory - getpwnam_r&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See: 58bc97628c1

getpwnam(3) says the same thing. I got ENOENT in my Linux environment.

  1) Failure:
TestProcess#test_uid_from_name [/home/k0kubun/src/github.com/ruby/ruby/test/ruby/test_process.rb:1685]:
Exception(ArgumentError) with message matches to /\u{4e0d 5b58 5728}/.
[ArgumentError] exception expected, not #&lt;Errno::ENOENT: No such file or directory - getpwnam_r&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>skip flaky test</title>
<updated>2025-05-30T23:17:36+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2025-05-30T23:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7924296844fe616b24935018d82f2c65424c4156'/>
<id>7924296844fe616b24935018d82f2c65424c4156</id>
<content type='text'>
```
  1) Failure:
TestProcess#test_warmup_frees_pages [/tmp/ruby/src/trunk-random1/test/ruby/test_process.rb:2772]:
&lt;164348&gt; expected but was
&lt;165985&gt;.
```

can someone investigate it?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
  1) Failure:
TestProcess#test_warmup_frees_pages [/tmp/ruby/src/trunk-random1/test/ruby/test_process.rb:2772]:
&lt;164348&gt; expected but was
&lt;165985&gt;.
```

can someone investigate it?
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup comment for Windows platform, not Solaris</title>
<updated>2025-04-02T07:24:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-02T06:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43ee4a50d91652c0909b97fe7195af8e87600971'/>
<id>43ee4a50d91652c0909b97fe7195af8e87600971</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed Solaris conditions from test files</title>
<updated>2025-04-02T07:24:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-02T04:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121'/>
<id>6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121</id>
<content type='text'>
We no longer execute those files with Solaris platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We no longer execute those files with Solaris platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Feature #21116] Extract RJIT as a third-party gem</title>
<updated>2025-02-13T09:01:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-02-13T06:59:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a67ef09ccd703047552b740431cfe15e32451f4'/>
<id>4a67ef09ccd703047552b740431cfe15e32451f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
