diff options
Diffstat (limited to 'pym/portage/tests/dep/test_isvalidatom.py')
-rw-r--r-- | pym/portage/tests/dep/test_isvalidatom.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index 7e9d8c23d..87d3d95ec 100644 --- a/pym/portage/tests/dep/test_isvalidatom.py +++ b/pym/portage/tests/dep/test_isvalidatom.py @@ -68,11 +68,17 @@ class IsValidAtom(TestCase): ( "~null/portage-2.1", True ), ( "=null/portage-2.1*", True ), ( "null/portage-2.1*", False ), + ( "app-doc/php-docs-20071125", False), + ( "app-doc/php-docs-20071125-r2", False), # These are invalid because pkg name must not end in hyphen # followed by numbers ( "=foo/bar-123-1", False ), + ( "=foo/bar-123-1*", False ), + ( "foo/bar-123", False ), ( "=foo/bar-123-1-r1", False ), + ( "=foo/bar-123-1-r1*", False ), + ( "foo/bar-123-r1", False ), ( "foo/bar-1", False ), ( "=foo/bar--baz-1-r1", True ), |