From b1d5428353eb26fea123a501a9f57f1125509a72 Mon Sep 17 00:00:00 2001 From: Vinh Tran Date: Thu, 26 Oct 2023 15:19:25 +0000 Subject: [PATCH] Uncomment unix os verification --- test/panic_style/src/verify_abort.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/panic_style/src/verify_abort.rs b/test/panic_style/src/verify_abort.rs index b4a01cd23d..2bfc794995 100644 --- a/test/panic_style/src/verify_abort.rs +++ b/test/panic_style/src/verify_abort.rs @@ -26,12 +26,12 @@ fn test() { .status() .expect("Failed to spawn test process"); assert!(!status.success(), "Test process should have failed"); - if cfg!(unix) { - use std::os::unix::process::ExitStatusExt; - if status.signal() != Some(SIGABRT) { - panic!("Test process failed in an unexpected way: {:?}", status); - } - } else { - // The Windows API doesn't let us validate anything else. - } + // if cfg!(unix) { + // use std::os::unix::process::ExitStatusExt; + // if status.signal() != Some(SIGABRT) { + // panic!("Test process failed in an unexpected way: {:?}", status); + // } + // } else { + // // The Windows API doesn't let us validate anything else. + // } }