summaryrefslogtreecommitdiff
path: root/test/sys/test_signal.rs
blob: 4084a0da2e2b279b9f5ab35b35569188ada09b8f (plain)
1
2
3
4
5
6
7
use nix::unistd::*;
use nix::sys::signal::*;

#[test]
fn test_kill_none() {
    kill(getpid(), None).ok().expect("Should be able to send signal to myself.");
}