mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
hashsum: --ignore-missing needs -c
This commit is contained in:
parent
b977d61f67
commit
f817018f90
2 changed files with 18 additions and 1 deletions
|
@ -154,6 +154,13 @@ fn test_check_md5_ignore_missing() {
|
|||
.succeeds()
|
||||
.stdout_is("testf: OK\n")
|
||||
.stderr_is("");
|
||||
|
||||
scene
|
||||
.ccmd("md5sum")
|
||||
.arg("--ignore-missing")
|
||||
.arg(at.subdir.join("testf.sha1"))
|
||||
.fails()
|
||||
.stderr_contains("the --ignore-missing option is meaningful only when verifying checksums");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue