Mercurial > hgsubversion
comparison tests/comprehensive/test_verify_and_startrev.py @ 892:3bfb7e985c47
svn verify: add a test for corrupt repositories.
This case contains a couple of unlikely (but not impossible) failure
cases that the code previously did not handle. The verifier is updated
to address these, and the output made a bit more consistent.
| author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
|---|---|
| date | Wed, 14 Dec 2011 00:07:58 +0100 |
| parents | c6388ed0ec0a |
| children | 9562f606c4aa |
comparison
equal
deleted
inserted
replaced
| 889:7a98fbadcae9 | 892:3bfb7e985c47 |
|---|---|
| 19 # these fixtures contain no files at HEAD and would result in empty clones | 19 # these fixtures contain no files at HEAD and would result in empty clones |
| 20 _skipshallow = set([ | 20 _skipshallow = set([ |
| 21 'binaryfiles.svndump', | 21 'binaryfiles.svndump', |
| 22 'binaryfiles-broken.svndump', | 22 'binaryfiles-broken.svndump', |
| 23 'emptyrepo.svndump', | 23 'emptyrepo.svndump', |
| 24 'correct.svndump', | |
| 25 'corrupt.svndump', | |
| 24 ]) | 26 ]) |
| 25 | 27 |
| 26 _skipall = set([ | 28 _skipall = set([ |
| 27 'project_root_not_repo_root.svndump', | 29 'project_root_not_repo_root.svndump', |
| 28 ]) | 30 ]) |
| 29 | 31 |
| 30 _skipstandard = set([ | 32 _skipstandard = set([ |
| 31 'subdir_is_file_prefix.svndump', | 33 'subdir_is_file_prefix.svndump', |
| 34 'correct.svndump', | |
| 35 'corrupt.svndump', | |
| 32 ]) | 36 ]) |
| 33 | 37 |
| 34 def _do_case(self, name, stupid, layout): | 38 def _do_case(self, name, stupid, layout): |
| 35 subdir = test_util.subdir.get(name, '') | 39 subdir = test_util.subdir.get(name, '') |
| 36 repo, svnpath = self.load_and_fetch(name, subdir=subdir, stupid=stupid, | 40 repo, svnpath = self.load_and_fetch(name, subdir=subdir, stupid=stupid, |
