mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Merge pull request #7079 from Felle33/cksum_--tag_meaningless_with_--check
cksum: the --tag is meaningless with --check
This commit is contained in:
commit
d9936ca583
2 changed files with 16 additions and 3 deletions
|
@ -748,6 +748,19 @@ fn test_conflicting_options() {
|
|||
"cksum: the --binary and --text options are meaningless when verifying checksums",
|
||||
)
|
||||
.code_is(1);
|
||||
|
||||
scene
|
||||
.ucmd()
|
||||
.arg("--tag")
|
||||
.arg("-c")
|
||||
.arg("-a")
|
||||
.arg("md5")
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.stderr_contains(
|
||||
"cksum: the --binary and --text options are meaningless when verifying checksums",
|
||||
)
|
||||
.code_is(1);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue