mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Bugfix: unit-test was creating dirs in source directory.
This commit is contained in:
1 parent
ada3ae0094
commit
7e5b2ae8f5
1 file changed
+1
-1
@@ -170,7 +170,7 @@ func (s *PublishedStorageSuite) TestLinkFromPool(c *C) {
|
||||
}
|
||||
|
||||
// test linking files to duplicate final name
|
||||
sourcePath := "pool/02/bc/mars-invaders_1.03.deb"
|
||||
sourcePath := filepath.Join(s.root, "pool/02/bc/mars-invaders_1.03.deb")
|
||||
err := os.MkdirAll(filepath.Dir(sourcePath), 0755)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user