diff options
Diffstat (limited to 'test/sys')
-rw-r--r-- | test/sys/test_signal.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sys/test_signal.rs b/test/sys/test_signal.rs index 11875750..4cb394cc 100644 --- a/test/sys/test_signal.rs +++ b/test/sys/test_signal.rs @@ -18,6 +18,8 @@ fn test_killpg_none() { #[test] fn test_old_sigaction_flags() { + let _m = ::SIGNAL_MTX.lock().expect("Mutex got poisoned by another test"); + extern "C" fn handler(_: ::libc::c_int) {} let act = SigAction::new( SigHandler::Handler(handler), |