diff --git a/system/t04_mirror/ShowMirror8Test_gold b/system/t04_mirror/ShowMirror8Test_gold index 2b8ae8fe..dedfcd19 100644 --- a/system/t04_mirror/ShowMirror8Test_gold +++ b/system/t04_mirror/ShowMirror8Test_gold @@ -23,7 +23,6 @@ "Label": "Debian-Security", "Origin": "Debian", "Suite": "oldoldstable", - "Valid-Until": "Sat, 05 Feb 2022 10:02:07 UTC", "Version": "9" }, "LastDownloadDate": "0001-01-01T00:00:00Z", diff --git a/system/t04_mirror/show.py b/system/t04_mirror/show.py index ce1d25d4..9323a68c 100644 --- a/system/t04_mirror/show.py +++ b/system/t04_mirror/show.py @@ -39,7 +39,7 @@ class ShowMirror4Test(BaseTest): runCmd = "aptly mirror show mirror4" def outputMatchPrepare(self, s): - return re.sub(r"(Date|Valid-Until): [,0-9:+A-Za-z -]+\n", "", s) + return re.sub(r"(Date): [,0-9:+A-Za-z -]+\n", "", s) class ShowMirror5Test(BaseTest):