rust/library/std/tests
roblabla 4971e997e5 Fix switch_stdout_to on Windows7
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.
2023-10-31 09:50:07 +01:00
..
common std: mark common functions in test crate pub(crate) 2023-05-25 08:15:04 -07:00
create_dir_all_bare.rs Exclude SGX from create_dir_all_bare test 2023-02-21 18:33:20 +00:00
env.rs Add data race test to std::env::{get, set} 2023-08-20 21:50:45 +02:00
process_spawning.rs Fix issue_15149 test for the SGX target 2023-07-28 14:48:06 +02:00
run-time-detect.rs std: remove test for arm's crypto feature 2023-05-08 19:09:12 +09:00
switch-stdout.rs Fix switch_stdout_to on Windows7 2023-10-31 09:50:07 +01:00
thread.rs Make ui test that are run-pass and do not test the compiler itself library tests 2020-11-30 02:47:32 +01:00