diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/get_previous_releases.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/get_previous_releases.py b/test/get_previous_releases.py index b177fbb4b2..51f2c30bbd 100755 --- a/test/get_previous_releases.py +++ b/test/get_previous_releases.py @@ -104,7 +104,11 @@ def download_binary(tag, args) -> int: tarballHash = hasher.hexdigest() if tarballHash not in SHA256_SUMS or SHA256_SUMS[tarballHash] != tarball: - print("Checksum did not match") + if tarball in SHA256_SUMS.values(): + print("Checksum did not match") + return 1 + + print("Checksum for given version doesn't exist") return 1 print("Checksum matched") |