diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2025-01-17 01:09:05 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2025-01-17 01:09:05 +0000 |
| commit | 9bd81ac3c85d8c9fee01d0ecfc681841aa89e6eb (patch) | |
| tree | 6f32af35c7efc95bb94182160954cd6c54e70994 /test/integration | |
| parent | 4454fd246b3b7f605dcd272b2107313ba53688c5 (diff) | |
Grep for more evil in test as a signature can contain evil
The test was failing for me as the PGP signature contained "GeviljGB"
which is clearly not the evil we are looking for. Sadly, reproducing
this is hard, but random failures of the test suite are annoying, so
lets grep for a bit longer strings that can't happen in the signature
block to avoid this particular problem.
Diffstat (limited to 'test/integration')
| -rwxr-xr-x | test/integration/test-apt-update-nofallback | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-update-nofallback b/test/integration/test-apt-update-nofallback index 95e445139..c7cad4a82 100755 --- a/test/integration/test-apt-update-nofallback +++ b/test/integration/test-apt-update-nofallback @@ -210,7 +210,7 @@ W: Some index files failed to download. They have been ignored, or old ones used fi # ensure we keep the repo - testfailure grep 'evil' rootdir/var/lib/apt/lists/*InRelease + testfailure grep ': evil' rootdir/var/lib/apt/lists/*InRelease testfileequal lists.before "$(listcurrentlistsdirectory)" assert_repo_is_intact } @@ -236,7 +236,7 @@ W: Failed to fetch file:${APTARCHIVE}/dists/unstable/Release.gpg The following W: Some index files failed to download. They have been ignored, or old ones used instead." aptget update -qq fi - testfailure grep 'evil' rootdir/var/lib/apt/lists/*Release + testfailure grep 'evil data' rootdir/var/lib/apt/lists/*Release testfileequal lists.before "$(listcurrentlistsdirectory)" assert_repo_is_intact } |
