Page MenuHomeSoftware Heritage

tests: Refactor repository with tampered information scenario
ClosedPublic

Authored by ardumont on Jul 3 2020, 1:55 PM.

Details

Summary

This actually uses a real modified repository.

Prior to this, this faked the alteration by modifying the input of the loader
which is a hack.

Related to T2462
Related to P713
Related to D3208

Test Plan

tox

Diff Detail

Event Timeline

Build is green

Patch application report for D3410 (id=12093)

Rebasing onto 4cb4b0301e...

Current branch diff-target is up to date.
Changes applied before test
commit 01f9382e7442ef6510d016b7f7f42d6ac4c04b22
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Jul 3 13:52:16 2020 +0200

    tests: Refactor repository with tampered information scenario
    
    This actually uses a real modified repository.
    
    Prior to this, this faked the alteration by modifying the input of the loader
    which is a hack.
    
    Related to T2462

See https://jenkins.softwareheritage.org/job/DLDSVN/job/tests-on-diff/60/ for more details.

anlambert added a subscriber: anlambert.

Nice improvement !

This revision is now accepted and ready to land.Jul 3 2020, 2:33 PM