mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Fix bugs with publishing w/o source or short names.
This commit is contained in:
1 parent
47ffd1977a
commit
bc2eba459f
3 files changed
+16
-2
No files matched your search
Vendored
+4
@@ -28,6 +28,10 @@ func (s *RepositorySuite) TestPoolPath(c *C) {
|
||||
c.Assert(err, ErrorMatches, ".*is invalid")
|
||||
}
|
||||
|
||||
func (s *RepositorySuite) TestPublicPath(c *C) {
|
||||
c.Assert(s.repo.PublicPath(), Equals, filepath.Join(s.repo.RootPath, "public"))
|
||||
}
|
||||
|
||||
func (s *RepositorySuite) TestMkDir(c *C) {
|
||||
err := s.repo.MkDir("ppa/dists/squeeze/")
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
Reference in new issue
Block a user