]> git.lizzy.rs Git - rust.git/commit
panic ui test: Provide comprehensive test for panic after fork
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Feb 2021 12:16:11 +0000 (12:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 May 2021 10:17:44 +0000 (11:17 +0100)
commita17eab7beddf87807d9d7fc71b7dfb90b5e2488a
tree5364660b83bcd0a59b27feea9d53714e6449481d
parentf8015061c88ba35f7af09ff68a054ffe6c87990c
panic ui test: Provide comprehensive test for panic after fork

This tests that we can indeed safely panic after fork, both
a raw libc::fork and in a Command pre_exec hook.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
library/std/src/sys/unix/process/process_unix/tests.rs
src/test/ui/panics/abort-on-panic.rs
src/test/ui/process/process-panic-after-fork.rs [new file with mode: 0644]