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>
This commit is contained in:
parent
756771d54c
commit
8220f2f212
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ fn exitstatus_display_tests() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(target_os = "emscripten", ignore)]
|
||||
fn test_command_fork_no_unwind() {
|
||||
let got = catch_unwind(|| {
|
||||
let mut c = Command::new("echo");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue