1
Fork 0
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:
tommi 2025-01-05 10:32:08 +01:00
parent dd17f9a61c
commit 61290fd6e8

View file

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