[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1241025 - in /subversion/trunk/subversion: include/svn_checksum.h libsvn_subr/checksum.c tests/libsvn_subr/checksum-test.c

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 6 Feb 2012 16:50:26 +0200

hwright_at_apache.org wrote on Mon, Feb 06, 2012 at 14:42:45 -0000:
> + checksum = svn_checksum_empty_checksum(svn_checksum_md5, pool);
> + SVN_TEST_ASSERT(svn_checksum_is_empty_checksum(checksum));
> +

That doesn't test much -- both functions just call
svn_md5__empty_string_digest() which returns a static constant.

Perhaps actually construct an empty svn_string_t and checksum it?
Received on 2012-02-06 15:51:18 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.