1
Fork 0
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:
Daniel Hofstetter 2025-01-05 14:43:38 +01:00 committed by GitHub
commit d9936ca583
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 3 deletions

View file

@ -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]