Skip to content
Snippets Groups Projects
  • Martin von Zweigbergk's avatar
    2b41f8655bbc
    tests: add tests for missing revlogs and revlog entries · 2b41f8655bbc
    Martin von Zweigbergk authored
    The verify code is pretty poorly tested. It's easy to test missing
    revlogs and missing revlog entries, so let's add tests for that.
    
    Also add some more tests corrupting each type of revlog, so we test
    the messages presented when reading a revision fails. The pure and
    native implementations produce different error messages, so we have to
    use (glob) in the tests.
    2b41f8655bbc
    History
    tests: add tests for missing revlogs and revlog entries
    Martin von Zweigbergk authored
    The verify code is pretty poorly tested. It's easy to test missing
    revlogs and missing revlog entries, so let's add tests for that.
    
    Also add some more tests corrupting each type of revlog, so we test
    the messages presented when reading a revision fails. The pure and
    native implementations produce different error messages, so we have to
    use (glob) in the tests.