mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
mktemp: ensure that "-q XX" shows error msg
This commit is contained in:
committed by
Sylvestre Ledru
parent
e451ddf733
commit
2c37153c7e
@@ -697,6 +697,14 @@ fn test_too_few_xs_suffix_directory() {
|
||||
.stderr_only("mktemp: too few X's in template 'aXX'\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_too_few_xs_quiet() {
|
||||
new_ucmd!()
|
||||
.args(&["-q", "aXX"])
|
||||
.fails()
|
||||
.stderr_only("mktemp: too few X's in template 'aXX'\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_too_many_arguments() {
|
||||
new_ucmd!()
|
||||
|
||||
Reference in New Issue
Block a user