Mercurial > hg-stable
diff tests/test-tools.t @ 35476:c1f7037c2ded
tests: teach `f` to handle sha256 checksums
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 20 Dec 2017 20:46:33 -0500 |
parents | ea4d27aac557 |
children | 5abc47d4ca6b |
line wrap: on
line diff
--- a/tests/test-tools.t Wed Dec 20 20:41:12 2017 -0500 +++ b/tests/test-tools.t Wed Dec 20 20:46:33 2017 -0500 @@ -13,6 +13,7 @@ check if file is newer (or same) -r, --recurse recurse into directories -S, --sha1 show sha1 hash of the content + --sha256 show sha256 hash of the content -M, --md5 show md5 hash of the content -D, --dump dump file content -H, --hexdump hexdump file content @@ -41,6 +42,9 @@ $ f --sha1 foo foo: sha1=f1d2d2f924e986ac86fdf7b36c94bcdf32beec15 + $ f --sha256 foo + foo: sha256=b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c + #if symlink $ f foo --mode foo: mode=644