Introduce new flag -force-components to aptly mirror create to ignore

components in Release file while doing checks. #147
This commit is contained in:
Andrey Smirnov
2014-11-27 00:32:34 +03:00
parent 5fa487e2dc
commit 26c0502307
9 changed files with 49 additions and 4 deletions
+11
View File
@@ -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")