KVM test: Add new program cd_hash.py
A new program that evaluates hash strings, intended
to help kvm autotest administrators was added, cd_hash.
Usage: cd_hash.py [options]
Options:
-h, --help show this help message and exit
-i FILENAME, --iso=FILENAME
path to a ISO file whose hash string will be
evaluated.
This script will calculate:
* MD5SUM for the 1st MB of the file
* SHA1SUM for the 1st MB of the file
* MD5SUM for the whole file
* SHA1SUM for the whole file
The hashes for the 1st MB are calculated first in the case the
user only wants them. This program replaces calc_md5sum_1m.
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3881 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed