We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c8129 commit d56c7bbCopy full SHA for d56c7bb
tests/by-util/test_kill.rs
@@ -92,6 +92,16 @@ fn test_kill_list_one_signal_from_name() {
92
.stdout_matches(&Regex::new("\\b9\\b").unwrap());
93
}
94
95
+#[test]
96
+fn test_kill_list_all_vertically() {
97
+ // Check for a few signals. Do not try to be comprehensive.
98
+ let command = new_ucmd!().arg("-l").succeeds();
99
+ let signals = command.stdout_str().split('\n').collect::<Vec<&str>>();
100
+ assert!(signals.contains(&"KILL"));
101
+ assert!(signals.contains(&"TERM"));
102
+ assert!(signals.contains(&"HUP"));
103
+}
104
+
105
#[test]
106
fn test_kill_list_two_signal_from_name() {
107
new_ucmd!()
0 commit comments