mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests/cksum: test added to check that the --check and --tag flags are meaningless
This commit is contained in:
parent
dd17f9a61c
commit
61290fd6e8
1 changed files with 13 additions and 0 deletions
|
@ -748,6 +748,19 @@ fn test_conflicting_options() {
|
||||||
"cksum: the --binary and --text options are meaningless when verifying checksums",
|
"cksum: the --binary and --text options are meaningless when verifying checksums",
|
||||||
)
|
)
|
||||||
.code_is(1);
|
.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]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue