mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Add test for mirror without MD5 checksums
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
Building download queue...
|
||||||
|
Download queue: 1 items (2.67 KiB)
|
||||||
|
Downloading & parsing package files...
|
||||||
|
Downloading https://dl.bintray.com/smira/deb/Packages.bz2...
|
||||||
|
Downloading https://dl.bintray.com/smira/deb/Release...
|
||||||
|
Downloading https://dl.bintray.com/smira/deb/libboost-program-options-dev_1.49.0.1_i386.deb...
|
||||||
|
Mirror `bintray` has been successfully updated.
|
||||||
@@ -201,3 +201,22 @@ class UpdateMirror14Test(BaseTest):
|
|||||||
|
|
||||||
def output_processor(self, output):
|
def output_processor(self, output):
|
||||||
return "\n".join(sorted(output.split("\n")))
|
return "\n".join(sorted(output.split("\n")))
|
||||||
|
|
||||||
|
|
||||||
|
class UpdateMirror15Test(BaseTest):
|
||||||
|
"""
|
||||||
|
update mirrors: update for mirror without MD5 checksums
|
||||||
|
"""
|
||||||
|
longTest = False
|
||||||
|
fixtureCmds = [
|
||||||
|
"aptly mirror create --ignore-signatures bintray https://dl.bintray.com/smira/deb/ ./",
|
||||||
|
]
|
||||||
|
runCmd = "aptly mirror update --ignore-signatures bintray"
|
||||||
|
|
||||||
|
def output_processor(self, output):
|
||||||
|
return "\n".join(sorted(output.split("\n")))
|
||||||
|
|
||||||
|
def check(self):
|
||||||
|
super(UpdateMirror15Test, self).check()
|
||||||
|
# check pool
|
||||||
|
self.check_exists('pool/c7/6b/4bd12fd92e4dfe1b55b18a67a669_libboost-program-options-dev_1.49.0.1_i386.deb')
|
||||||
|
|||||||
Reference in New Issue
Block a user