qemu/tests/functional/qemu_test
Thomas Huth db17daf8c4 tests/functional: Fix hash validation
The _check() function is supposed to check whether the hash of the
downloaded file matches the expected one. Unfortunately, during the
last rework of this function, the check was accidentally turned into
returning the hash value itself instead of a True/False value,
effectively accepting each hash as valid. Let's do a proper check
again now.

Fixes:05e303210d ("tests/functional/qemu_test: Use Python hashlib ...")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-10-04 18:53:53 +03:00
..
__init__.py tests/functional: Add the LinuxKernelTest for testing the Linux boot process 2024-09-11 09:49:11 +02:00
asset.py tests/functional: Fix hash validation 2024-10-04 18:53:53 +03:00
cmd.py tests/functional: Fix bad usage of has_cmd 2024-09-11 09:49:12 +02:00
config.py
linuxkernel.py tests/functional/qemu_test: Add a function for launching kernels more easily 2024-09-24 13:38:29 +02:00
tesseract.py tests/functional: Fix bad usage of has_cmd 2024-09-11 09:49:12 +02:00
testcase.py tests/functional: Add QemuUserTest class 2024-09-04 12:28:00 +02:00
utils.py tests/functional: Convert ARM bFLT linux-user avocado test 2024-09-04 12:28:00 +02:00