mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Introduce new flag -force-components to aptly mirror create to ignore
components in Release file while doing checks. #147
This commit is contained in:
@@ -317,3 +317,14 @@ class CreateMirror27Test(BaseTest):
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror27", "mirror_show")
|
||||
|
||||
|
||||
class CreateMirror28Test(BaseTest):
|
||||
"""
|
||||
create mirror: -force-components
|
||||
"""
|
||||
runCmd = "aptly mirror create -ignore-signatures -force-components mirror28 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"
|
||||
|
||||
def check(self):
|
||||
self.check_output()
|
||||
self.check_cmd_output("aptly mirror show mirror28", "mirror_show")
|
||||
|
||||
Reference in New Issue
Block a user