]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/functional/qemu_test: Use Python hashlib instead of external programs
authorThomas Huth <thuth@redhat.com>
Tue, 10 Sep 2024 20:17:42 +0000 (22:17 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 11 Sep 2024 07:49:12 +0000 (09:49 +0200)
commit05e303210dc83a008c8c06fe82b632aa2e87c49b
treeb9bb1dd36bd4f904ca06bf612a3361cf7acd58bb
parent59d100243d23451e66d2274d34edab7be6dab473
tests/functional/qemu_test: Use Python hashlib instead of external programs

Some systems (like OpenBSD) do not have the sha256sum or sha512sum programs
installed by default, or use different names for those. Use the Python
hashlib instead so we don't have to rely on the external programs.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20240910201742.239559-1-thuth@redhat.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/asset.py