diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/sys/test_signal.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sys/test_signal.rs b/test/sys/test_signal.rs index f5e4dfd9..8780763f 100644 --- a/test/sys/test_signal.rs +++ b/test/sys/test_signal.rs @@ -10,6 +10,12 @@ fn test_kill_none() { } #[test] +fn test_killpg_none() { + killpg(getpgrp(), None) + .expect("Should be able to send signal to my process group."); +} + +#[test] fn test_old_sigaction_flags() { extern "C" fn handler(_: ::libc::c_int) {} let act = SigAction::new( |