1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

cksum: add an ignored test for issue 6375

This commit is contained in:
Sylvestre Ledru 2024-05-07 13:49:48 +02:00 committed by Ben Wiederhake
parent ee2772925a
commit eb6f1df3bc

View file

@ -508,6 +508,26 @@ fn test_reset_binary() {
.stdout_contains("d41d8cd98f00b204e9800998ecf8427e "); .stdout_contains("d41d8cd98f00b204e9800998ecf8427e ");
} }
#[ignore = "issue #6375"]
#[test]
fn test_reset_binary_but_set() {
let scene = TestScenario::new(util_name!());
let at = &scene.fixtures;
at.touch("f");
scene
.ucmd()
.arg("--binary")
.arg("--tag")
.arg("--untagged")
.arg("--binary")
.arg("--algorithm=md5")
.arg(at.subdir.join("f"))
.succeeds()
.stdout_contains("d41d8cd98f00b204e9800998ecf8427e *"); // currently, asterisk=false. It should be true
}
#[test] #[test]
fn test_text_tag() { fn test_text_tag() {
let scene = TestScenario::new(util_name!()); let scene = TestScenario::new(util_name!());