diff --git a/system/t04_mirror/UpdateMirror15Test_gold b/system/t04_mirror/UpdateMirror15Test_gold new file mode 100644 index 00000000..3c11f1ff --- /dev/null +++ b/system/t04_mirror/UpdateMirror15Test_gold @@ -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. \ No newline at end of file diff --git a/system/t04_mirror/update.py b/system/t04_mirror/update.py index bdab59fb..8e2cf494 100644 --- a/system/t04_mirror/update.py +++ b/system/t04_mirror/update.py @@ -201,3 +201,22 @@ class UpdateMirror14Test(BaseTest): def output_processor(self, output): 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')