commit: bc9342d07f5a46f9ef5a220144decb9553342669 Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Fri Jun 16 02:26:57 2023 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Fri Jun 16 02:26:57 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=bc9342d0
tests/glsa/test_security_set: test glsa with invalid range attribute Bug: https://bugs.gentoo.org/905660 Closes: https://github.com/gentoo/portage/pull/1056 Signed-off-by: John Helmert III <ajak <AT> gentoo.org> lib/portage/tests/glsa/test_security_set.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/portage/tests/glsa/test_security_set.py b/lib/portage/tests/glsa/test_security_set.py index 35f7aa5ab..867a7cd4f 100644 --- a/lib/portage/tests/glsa/test_security_set.py +++ b/lib/portage/tests/glsa/test_security_set.py @@ -209,6 +209,16 @@ class SecuritySetTestCase(TestCase): # Two valid arches followed by an invalid one "arch": "amd64 sparc $$$$", }, + { + "glsa_id": "201301-07", + "pkgname": "A-vulnerable", + "cp": "cat/A-vulnerable", + "unaffected_range": "None", + "affected_range": "lt", + "unaffected_version": "2.2", + "affected_version": "2.2", + "arch": "*", + }, ) world = ["cat/A"]
