bytecodealliance / rustix

Safe Rust bindings to POSIX-ish APIs
Other
1.4k stars 139 forks source link

Fix `dup2_stdio` tests to test all three functions #1082

Closed pekkarr closed 2 weeks ago

pekkarr commented 3 weeks ago

These tests were added in #1069, but despite the names suggesting that they test all of stdin, stdout and stderr, the tests were identical and only tested stdout.

sunfishcode commented 3 weeks ago

Good catch! The Windows failures here are unrelated and should be fixed on main in #1081.