mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
When downloading/importing packages, enforce all checksums
This commit is contained in:
1 parent
c40025a335
commit
1f3cb2db5d
12 files changed
+57
-16
No files matched your search
@@ -423,6 +423,7 @@ func (s *PackageSuite) TestVerifyFiles(c *C) {
|
||||
|
||||
p.Files()[0].PoolPath, _ = packagePool.Import(tmpFilepath, p.Files()[0].Filename, &p.Files()[0].Checksums, false)
|
||||
|
||||
p.Files()[0].Checksums.Size = 100
|
||||
result, err := p.VerifyFiles(packagePool)
|
||||
c.Check(err, IsNil)
|
||||
c.Check(result, Equals, false)
|
||||
|
||||
Reference in new issue
Block a user