summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/test
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-03-29 11:44:17 +0000
committertobez <tobez@FreeBSD.org>2005-03-29 11:44:17 +0000
commit33bcab28052aed309c71543e4d9db75259feffda (patch)
tree3649da480656bca08f4c722336ccea910c49eb2f /usr.sbin/mtree/test
parent5f6d29a6e04fc4f90eea3974de0b53b8d24b2e87 (diff)
downloadFreeBSD-src-33bcab28052aed309c71543e4d9db75259feffda.zip
FreeBSD-src-33bcab28052aed309c71543e4d9db75259feffda.tar.gz
Adds sha256 support. While it is a good idea to also add sha384 and
sha512, I did not do that since it is not entirely clear where "the one true place" to hold their implementations is going to be. Sha256 is different since mtree already links against libmd. Make recommended procedure for integrity checking in the manpage consistent. Fix a bug with -f spec1 -f spec2 comparison, which prevented test/tes03.sh from running successfully. Reviewed by: phk, cperciva
Diffstat (limited to 'usr.sbin/mtree/test')
-rw-r--r--usr.sbin/mtree/test/test03.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtree/test/test03.sh b/usr.sbin/mtree/test/test03.sh
index e320c4f..bb3a5b5 100644
--- a/usr.sbin/mtree/test/test03.sh
+++ b/usr.sbin/mtree/test/test03.sh
@@ -15,7 +15,7 @@ TMP=/tmp/mtree.$$
rm -rf ${TMP}
mkdir -p ${TMP}
-K=uid,uname,gid,gname,flags,md5digest,size,ripemd160digest,sha1digest,cksum
+K=uid,uname,gid,gname,flags,md5digest,size,ripemd160digest,sha1digest,sha256digest,cksum
rm -rf _FOO
mkdir _FOO
OpenPOWER on IntegriCloud