Skip to content
Snippets Groups Projects
Verified Commit 8aa6dab7 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

{Cnt|Dir}Loader: Fix standard/nar hash mismatch behavior to fail loading

Prior to this commit, there was a discrepancy between the hash mismatch computations
with "standard" and "nar" computations. This commit fixes the gap between those.

When a hash mismatch occurs, either "nar" or "standard", the issue is caught and the
next mirror url is checked. At the end of it all, if nothing is loaded and errors
exist, this is raised. This fails the visit.

This also adds the missing tests.

Related to T3781
parent 4d51ad99
No related branches found
No related tags found
1 merge request!441{Cnt|Dir}Loader: Fix standard/nar hash mismatch behavior to fail loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment