Fix system tests. #48

This commit is contained in:
Andrey Smirnov
2014-08-30 01:16:42 +04:00
parent 47d952f712
commit a549778754
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
Usage: aptly mirror create <name> <archive url> <distribution> [<component1> ...] Usage: aptly mirror create <name> <archive url> <distribution> [<component1> ...]
Creates mirror <name> of remote repository, aptly supports both regular and flat Debian repositories exported Creates mirror <name> of remote repository, aptly supports both regular and flat Debian repositories exported
via HTTP. aptly would try download Release file from remote repository and verify its' signature. Command via HTTP and FTP. aptly would try download Release file from remote repository and verify its' signature. Command
line format resembles apt utlitily sources.list(5). line format resembles apt utlitily sources.list(5).
PPA urls could specified in short format: PPA urls could specified in short format:
+1
View File
@@ -151,6 +151,7 @@ class UpdateMirror11Test(BaseTest):
fixtureCmds = [ fixtureCmds = [
"aptly mirror create -keyring=aptlytest.gpg -filter='Priority (required)' -architectures=i386 wheezy-main ftp://ftp.ru.debian.org/debian/ wheezy main", "aptly mirror create -keyring=aptlytest.gpg -filter='Priority (required)' -architectures=i386 wheezy-main ftp://ftp.ru.debian.org/debian/ wheezy main",
] ]
outputMatchPrepare = lambda _, s: re.sub(r'Signature made .* using', '', s)
runCmd = "aptly mirror update -keyring=aptlytest.gpg wheezy-main" runCmd = "aptly mirror update -keyring=aptlytest.gpg wheezy-main"
def output_processor(self, output): def output_processor(self, output):