Re: [Autotest] [PATCH 1/3] KVM test: Add new utility functions to kvm_utils

2009-10-22 Thread Uri Lublin
On 10/21/2009 11:31 PM, Lucas Meneghel Rodrigues wrote: Some distributors ship CD and DVD files with SHA1 hash sums instead of MD5 hash sums, so let's extend the kvm_utils functions to evaluate and compare SHA1 hashes: * sha1sum_file(): Calculate SHA1 sum for file +def sha1sum_file(filename,

[PATCH 1/3] KVM test: Add new utility functions to kvm_utils

2009-10-21 Thread Lucas Meneghel Rodrigues
Some distributors ship CD and DVD files with SHA1 hash sums instead of MD5 hash sums, so let's extend the kvm_utils functions to evaluate and compare SHA1 hashes: * sha1sum_file(): Calculate SHA1 sum for file * unmap_url_cache(): Reimplementation of a function present on autotest utils that