<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_env.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 19c39e4cfaa467e69b9848c9c5496d7f50d39c7f, d78ff6a767ca813ac5fa178dd7611f20a993c191: [Backport #20984]</title>
<updated>2025-01-11T06:28:05+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2025-01-11T06:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4e59c10646cf012d457da99ad258b0e6a3e42132'/>
<id>4e59c10646cf012d457da99ad258b0e6a3e42132</id>
<content type='text'>
	[Bug #20984] ENV.inspect should be encoding aware

	[Bug #20984] Fix test with locale encoding
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #20984] ENV.inspect should be encoding aware

	[Bug #20984] Fix test with locale encoding
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #17767] Now `ENV.clone` raises `TypeError` as well as `ENV.dup`</title>
<updated>2022-08-02T07:40:12+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-07-20T10:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ec3f59309e3f08339c4c76a6881901580801d6cd'/>
<id>ec3f59309e3f08339c4c76a6881901580801d6cd</id>
<content type='text'>
One year ago, the former method has been deprecated while the latter
has become an error.  Then the 3.1 released, it is enough time to make
also the former an error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One year ago, the former method has been deprecated while the latter
has become an error.  Then the 3.1 released, it is enough time to make
also the former an error.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENV.merge! support multile arguments [Feature #18279]</title>
<updated>2022-06-16T16:22:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-12-03T14:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=278fefb96294adf9d27a78f919c714a31b65ef58'/>
<id>278fefb96294adf9d27a78f919c714a31b65ef58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>`ENV` ivars should not be accessible from ractors</title>
<updated>2021-12-17T06:46:50+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-17T05:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=37bd795cf8bc9681fccaf9b2d42292b14610a310'/>
<id>37bd795cf8bc9681fccaf9b2d42292b14610a310</id>
<content type='text'>
The `ENV` object can have instance variables like other objects,
but they should be accessed only on the main ractor.

fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `ENV` object can have instance variables like other objects,
but they should be accessed only on the main ractor.

fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766
</pre>
</div>
</content>
</entry>
<entry>
<title>ucrt can raise `Errno::EINVAL`</title>
<updated>2021-12-15T06:04:34+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-14T16:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=13c37835d5dbda3493f54baf13f75ed5b59fc507'/>
<id>13c37835d5dbda3493f54baf13f75ed5b59fc507</id>
<content type='text'>
`ENV[key] = long_str` can raise `Errno::EINVAL` also on ucrt env.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ENV[key] = long_str` can raise `Errno::EINVAL` also on ucrt env.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test</title>
<updated>2021-12-15T06:04:34+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2021-12-14T15:13:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=04aab3c2592a2234921fb715c1ff9f36a58828ca'/>
<id>04aab3c2592a2234921fb715c1ff9f36a58828ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed traling spaces [ci skip]</title>
<updated>2021-12-15T06:04:34+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-07-21T03:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9bb83a82aba3cf844fd96782f747eefb1876439b'/>
<id>9bb83a82aba3cf844fd96782f747eefb1876439b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Ractor tests for ENV</title>
<updated>2021-12-15T06:04:34+00:00</updated>
<author>
<name>Rohit Menon</name>
<email>rohitmenon@verizon.net</email>
</author>
<published>2021-07-07T15:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e071ac8b3db80901566882ae82a9ba75106995da'/>
<id>e071ac8b3db80901566882ae82a9ba75106995da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify platform check for Windows-UCRT</title>
<updated>2021-11-29T14:07:16+00:00</updated>
<author>
<name>Lars Kanis</name>
<email>kanis@comcard.de</email>
</author>
<published>2021-11-24T19:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=95a6212a431929d91435056fa8df13ae697f8071'/>
<id>95a6212a431929d91435056fa8df13ae697f8071</id>
<content type='text'>
RUBY_PLATFORM can be used since commit 576b2e64cdc5ea42ad345dd3c1c215e006c06fca .</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RUBY_PLATFORM can be used since commit 576b2e64cdc5ea42ad345dd3c1c215e006c06fca .</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust test to set+get big values on all platforms and add MINGW-UCRT</title>
<updated>2021-09-19T15:15:30+00:00</updated>
<author>
<name>Lars Kanis</name>
<email>kanis@comcard.de</email>
</author>
<published>2021-06-22T06:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=70cefcfa0f769f7269cf0c950a4516036dd1a1ea'/>
<id>70cefcfa0f769f7269cf0c950a4516036dd1a1ea</id>
<content type='text'>
Previously the test verified on MSWIN that huge values can not be stored in environment variables but that they can on others.
IMHO the intention of the test should not change between platforms.
Therefore this adjusts the test to have the same intention - that is to store a big value.

This also fixes compatibility with MINGW-UCRT, which previously failed with:
  &lt;Errno::EINVAL: Invalid argument - ruby_setenv(foo)&gt;
    test/ruby/test_env.rb:512:in `[]='
    test/ruby/test_env.rb:512:in `block in test_huge_value'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously the test verified on MSWIN that huge values can not be stored in environment variables but that they can on others.
IMHO the intention of the test should not change between platforms.
Therefore this adjusts the test to have the same intention - that is to store a big value.

This also fixes compatibility with MINGW-UCRT, which previously failed with:
  &lt;Errno::EINVAL: Invalid argument - ruby_setenv(foo)&gt;
    test/ruby/test_env.rb:512:in `[]='
    test/ruby/test_env.rb:512:in `block in test_huge_value'
</pre>
</div>
</content>
</entry>
</feed>
