Skip to content

Commit 4f1d753

Browse files
committed
vmstat: add test for --queue
1 parent ee995ee commit 4f1d753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/by-util/test_pkill.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,9 @@ fn test_too_long_pattern() {
7474
.code_is(1)
7575
.stderr_contains("pattern that searches for process name longer than 15 characters will result in zero matches");
7676
}
77+
78+
#[test]
79+
#[cfg(target_os = "linux")]
80+
fn test_invalid_queue() {
81+
new_ucmd!().args(&["-q"]).fails().code_is(1);
82+
}

0 commit comments

Comments
 (0)