mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +00:00
Don't download the same files twice in one cycle.
This commit is contained in:
1 parent
d684c87fd1
commit
1268f744ab
4 files changed
+34
-4
No files matched your search
Vendored
+3
-2
@@ -144,8 +144,9 @@ func (s *RemoteRepoSuite) TestDownload(c *C) {
|
||||
pkg, err := s.packageCollection.ByKey(s.repo.packageRefs.Refs[0])
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
// poolPath, _ := s.packageRepo.PoolPath(pkg.Filename, pkg.HashMD5)
|
||||
// c.Check(pkg.VerifyFile(poolPath), Equals, true)
|
||||
result, err := pkg.VerifyFiles(s.packageRepo)
|
||||
c.Check(result, Equals, true)
|
||||
c.Check(err, IsNil)
|
||||
|
||||
c.Check(pkg.Name, Equals, "amanda-client")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user