Shivani Poddar <shivani.podda...@gmail.com> writes:

> Index: subversion/bindings/swig/python/tests/checksum.py
> ===================================================================
> --- subversion/bindings/swig/python/tests/checksum.py (revision 1448005)
> +++ subversion/bindings/swig/python/tests/checksum.py (working copy)
> @@ -28,14 +28,50 @@
>          kind, expected_length = svn.core.svn_checksum_md5, 128/8
>          val = svn.core.svn_checksum_create(kind)
>          check_val = svn.core.svn_checksum_to_cstring_display(val)
> -
> +        rand_checksum = svn.core.svn_checksum_t()
> +        rand_checksum.digest  = 'd41d8cd98f00b204e9800998ecf8427e'
> +        rand_checksum2 = svn.core.svn_checksum_t()
> +        rand_checksum2.digest = '568554e2bf0fc50aa347777731081a80'

That looks odd.  svn_checksum_t.digest is binary and you are setting it
to the string representation of the binary not the binary data itself.
What are you trying to do?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download

Reply via email to