mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
kill: make -s
conflict with -l
and -t
This commit is contained in:
parent
e0031565ba
commit
b5fc19e60e
2 changed files with 24 additions and 1 deletions
|
@ -307,3 +307,25 @@ fn test_kill_with_signal_number_hidden_compatibility_option() {
|
|||
.succeeds();
|
||||
assert_eq!(target.wait_for_signal(), Some(9));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_kill_with_signal_and_list() {
|
||||
let target = Target::new();
|
||||
new_ucmd!()
|
||||
.arg("-s")
|
||||
.arg("EXIT")
|
||||
.arg(format!("{}", target.pid()))
|
||||
.arg("-l")
|
||||
.fails();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_kill_with_signal_and_table() {
|
||||
let target = Target::new();
|
||||
new_ucmd!()
|
||||
.arg("-s")
|
||||
.arg("EXIT")
|
||||
.arg(format!("{}", target.pid()))
|
||||
.arg("-t")
|
||||
.fails();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue