1
Fork 0
rust/tests/ui/attributes/unix_sigpipe
Martin Nordholts f5b9eaf18f Don't unnecessarily change SIGPIPE disposition in unix_sigpipe tests
In `auxiliary/sigpipe-utils.rs`, all we want to know is the current
`SIGPIPE` disposition. We should not change it. So use `libc::sigaction`
instead of `libc::signal`. That way we can also remove the code that
restores it.
2024-02-24 16:18:34 +01:00
..
auxiliary Don't unnecessarily change SIGPIPE disposition in unix_sigpipe tests 2024-02-24 16:18:34 +01:00
unix_sigpipe-crate.rs
unix_sigpipe-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-duplicates.rs
unix_sigpipe-duplicates.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-error.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-inherit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-list.rs
unix_sigpipe-list.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-non-main-fn.rs
unix_sigpipe-non-main-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-non-root-main.rs
unix_sigpipe-non-root-main.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-not-used.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-only-feature.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-rustc_main.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-sig_dfl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unix_sigpipe-start.rs
unix_sigpipe-start.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-struct.rs
unix_sigpipe-struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe-wrong.rs
unix_sigpipe-wrong.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unix_sigpipe.rs
unix_sigpipe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00