commit:     b44c598d02d81bf95f463186775fe6a1ca69c433
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Mon Dec  1 01:08:00 2025 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Mon Dec  1 01:08:00 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=b44c598d

chore: add test for #459

This was fixed via changes in #453.

Closes #459

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 tests/ebuild/test_cpv.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/ebuild/test_cpv.py b/tests/ebuild/test_cpv.py
index 52991f23..9b8e84be 100644
--- a/tests/ebuild/test_cpv.py
+++ b/tests/ebuild/test_cpv.py
@@ -154,6 +154,14 @@ class TestCPV:
                 f"1{'0' * x}1"
             )
 
+    def test_parsing_recursion_gh459(self):
+        # if it hangs, it failed.
+        self.process_pkg(
+            True,
+            "dev-java",
+            
"log5j-777777777777777777777777777777777-777777777777777777-7777777777777777777-7777777-7dev-q!7778/qt77ased-77",
+        )
+
     def process_pkg(self, ret, cat, pkg):
         if ret:
             with pytest.raises(cpv.InvalidCPV):

Reply via email to