mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Fixing system test on CentOS (different version of gpg).
This commit is contained in:
@@ -109,7 +109,7 @@ class CreateMirror10Test(BaseTest):
|
|||||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror10 http://mirror.yandex.ru/debian-backports/ squeeze-backports"
|
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror10 http://mirror.yandex.ru/debian-backports/ squeeze-backports"
|
||||||
fixtureGpg = False
|
fixtureGpg = False
|
||||||
gold_processor = BaseTest.expand_environ
|
gold_processor = BaseTest.expand_environ
|
||||||
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using|gpgv: keyblock resource .*$|gpgv: Can\'t check signature: .*$', '', s, flags=re.MULTILINE)
|
||||||
expectedCode = 1
|
expectedCode = 1
|
||||||
|
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ class CreateMirror11Test(BaseTest):
|
|||||||
"""
|
"""
|
||||||
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror11 http://mirror.yandex.ru/debian/ squeeze"
|
runCmd = "aptly mirror create --keyring=aptlytest.gpg mirror11 http://mirror.yandex.ru/debian/ squeeze"
|
||||||
fixtureGpg = True
|
fixtureGpg = True
|
||||||
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
|
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using|gpgv: keyblock resource .*$|gpgv: Can\'t check signature: .*$', '', s, flags=re.MULTILINE)
|
||||||
|
|
||||||
def check(self):
|
def check(self):
|
||||||
self.check_output()
|
self.check_output()
|
||||||
|
|||||||
Reference in New Issue
Block a user