mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests: revise/standardize usage error testing (for dd, install, mktemp, rm, seq, and touch)
This commit is contained in:
parent
6a9660f9f6
commit
d78e1e7399
6 changed files with 45 additions and 62 deletions
|
@ -673,11 +673,7 @@ fn test_mktemp_with_posixly_correct() {
|
|||
.env("POSIXLY_CORRECT", "1")
|
||||
.args(&["aXXXX", "--suffix=b"])
|
||||
.fails()
|
||||
.stderr_is(&format!(
|
||||
"mktemp: too many templates\nTry '{} {} --help' for more information.\n",
|
||||
scene.bin_path.to_string_lossy(),
|
||||
scene.util_name
|
||||
));
|
||||
.usage_error("too many templates");
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue