<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/tests/switch-stdout.rs, branch 1.80.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.80.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.80.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-04-07T08:05:57+00:00</updated>
<entry>
<title>also test parts of std</title>
<updated>2024-04-07T08:05:57+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-04-05T21:22:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1242093da21cbe940f51e224f0e9dae9c4adcd1e'/>
<id>urn:sha1:1242093da21cbe940f51e224f0e9dae9c4adcd1e</id>
<content type='text'>
requires disabling some tests that do not work
</content>
</entry>
<entry>
<title>Fix switch_stdout_to on Windows7</title>
<updated>2023-10-31T08:50:07+00:00</updated>
<author>
<name>roblabla</name>
<email>unfiltered@roblab.la</email>
</author>
<published>2023-10-30T09:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4971e997e576aaeec268fed76aa61a033ad67870'/>
<id>urn:sha1:4971e997e576aaeec268fed76aa61a033ad67870</id>
<content type='text'>
The switch_stdout_to test was broken on Windows7, as the test
infrastructure would refuse to delete the temporary test folder because
the switch-stdout-output file we redirected the stdout to was still
opened.

To fix this issue, we make switch_stdout_to return the previous handle,
and add a new switch_stdout_to call at the end of the test to return the
stdio handles to their original state. The handle the second
switch_stdout_to returns will be automatically closed, which should
allow the temporary test folder to be deleted properly.
</content>
</entry>
<entry>
<title>Fix switch-stdout test for none unix/windows platforms</title>
<updated>2023-07-28T11:54:07+00:00</updated>
<author>
<name>Raoul Strackx</name>
<email>raoul.strackx@fortanix.com</email>
</author>
<published>2023-07-28T11:53:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9454916c84301a2f0a6de98e6ad5374a366dab75'/>
<id>urn:sha1:9454916c84301a2f0a6de98e6ad5374a366dab75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make Unix or Windows mandatory for the `switch-stdout.rs` test</title>
<updated>2023-06-07T19:51:57+00:00</updated>
<author>
<name>MoskalykA</name>
<email>100430077+MoskalykA@users.noreply.github.com</email>
</author>
<published>2023-06-07T19:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4227c0a406f31b7a2b2f4423541234d480a66e70'/>
<id>urn:sha1:4227c0a406f31b7a2b2f4423541234d480a66e70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move two tests from `tests/ui/std` to `library/std/tests`</title>
<updated>2023-06-07T16:40:25+00:00</updated>
<author>
<name>MoskalykA</name>
<email>100430077+MoskalykA@users.noreply.github.com</email>
</author>
<published>2023-06-07T16:40:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f093c67eadbf763601fd195dfc0d3e0c421fe82'/>
<id>urn:sha1:2f093c67eadbf763601fd195dfc0d3e0c421fe82</id>
<content type='text'>
</content>
</entry>
</feed>
