diff options
Diffstat (limited to 'test/sys/test_signalfd.rs')
-rw-r--r-- | test/sys/test_signalfd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_signalfd.rs b/test/sys/test_signalfd.rs index af04c222..b6f748b4 100644 --- a/test/sys/test_signalfd.rs +++ b/test/sys/test_signalfd.rs @@ -6,7 +6,7 @@ fn test_signalfd() { use nix::sys::signal::{self, raise, Signal, SigSet}; // Grab the mutex for altering signals so we don't interfere with other tests. - let _m = crate::SIGNAL_MTX.lock().expect("Mutex got poisoned by another test"); + let _m = crate::SIGNAL_MTX.lock(); // Block the SIGUSR1 signal from automatic processing for this thread let mut mask = SigSet::empty(); |