mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
kill: adding support for handling SIGEXIT (#6269)
kill: convert SIGEXT (0) to None so nix takes correct action
This commit is contained in:
parent
65b25c7a27
commit
5ee9c69f59
2 changed files with 25 additions and 5 deletions
|
@ -288,3 +288,13 @@ fn test_kill_no_pid_provided() {
|
|||
.fails()
|
||||
.stderr_contains("no process ID specified");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_kill_with_signal_exit_new_form() {
|
||||
let target = Target::new();
|
||||
new_ucmd!()
|
||||
.arg("-s")
|
||||
.arg("EXIT")
|
||||
.arg(format!("{}", target.pid()))
|
||||
.succeeds();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue