diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-01 17:03:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-01 17:03:19 +0000 |
commit | 50374c6ddc8660405cb1dd931810ad627f8a756b (patch) | |
tree | eea05ddc7885a8e34d322503c5fdffa6a003ea2f /test/sys | |
parent | fd5906790a45cf8f38922d26f772da9545035a41 (diff) | |
parent | 722fc77816fb21a70746f8f93941241ba18c6d42 (diff) | |
download | nix-50374c6ddc8660405cb1dd931810ad627f8a756b.zip |
Merge #1157
1157: Fix some race conditions in the integration tests r=asomers a=asomers
Co-authored-by: Alan Somers <asomers@gmail.com>
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), |