]> git.lizzy.rs Git - rust.git/commit
panic/fork test: Do not run on emscripten
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 May 2021 15:15:53 +0000 (16:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 May 2021 15:51:13 +0000 (16:51 +0100)
commit8220f2f2127b9aec972163ded97be7d8cff6b9a8
treea7f3831f596b00e68742cc00784be02afb80af42
parent756771d54c28c4543d620891e971bf5a95c3ea3e
panic/fork test: Do not run on emscripten

fork fails there.  The failure message is confusing: so c.status()
returns an Err, the closure panics, and the test thinks the panic was
propagated from inside the child.

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