mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
add kill list final new line test
This commit is contained in:
parent
7e577476d8
commit
7d445612a2
1 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,14 @@ fn test_kill_list_all_signals() {
|
||||||
.stdout_contains("HUP");
|
.stdout_contains("HUP");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_kill_list_final_new_line() {
|
||||||
|
new_ucmd!()
|
||||||
|
.arg("-l")
|
||||||
|
.succeeds()
|
||||||
|
.stdout_matches(&Regex::new("\\n$").unwrap());
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_kill_list_all_signals_as_table() {
|
fn test_kill_list_all_signals_as_table() {
|
||||||
// Check for a few signals. Do not try to be comprehensive.
|
// Check for a few signals. Do not try to be comprehensive.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue