Fix failing SHA512 checksums only test

This test has been failing very often because of changes in nvidia
repository. As this test is not related to filtering
remove number of filtered packages from output for a more robust test.
This commit is contained in:
Oliver Sauder
2018-06-15 15:43:02 +02:00
parent 53c557271d
commit 57a51d94ed
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ openpgp: Good signature from "NVIDIA CORPORATION (Open Source Projects) <cudatoo
Downloading & parsing package files...
Downloading https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64/Packages.xz...
Applying filter...
Packages filtered: 20 -> 0.
Building download queue...
Download queue: 0 items (0 B)

View File

@@ -373,4 +373,6 @@ class UpdateMirror22Test(BaseTest):
"aptly mirror create --keyring=aptlytest.gpg --filter=nomatch libnvidia-container https://nvidia.github.io/libnvidia-container/ubuntu16.04/amd64 ./"
]
runCmd = "aptly mirror update --keyring=aptlytest.gpg libnvidia-container"
outputMatchPrepare = filterOutSignature
def outputMatchPrepare(_, s):
return re.sub(r'Signature made .* using|Packages filtered: .* -> 0.', '', s)