diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-26 01:40:22 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-26 01:40:22 +0000 |
commit | 172f1b5c4f1ae5e64098f7e9438d36ebc3c2241f (patch) | |
tree | 90e2d1c893f5e4a42229bfdcf66bdeaf6547a1cf /pym/portage/tests | |
parent | 299e621e4c94af84b9a60f87af6813ab070e3d67 (diff) | |
download | portage-172f1b5c4f1ae5e64098f7e9438d36ebc3c2241f.tar.gz portage-172f1b5c4f1ae5e64098f7e9438d36ebc3c2241f.tar.bz2 portage-172f1b5c4f1ae5e64098f7e9438d36ebc3c2241f.zip |
Bug #227265 - Make pkgsplit() allow multiple consecutive hyphens in package
names, and add corresponding test cases.
svn path=/main/trunk/; revision=13187
Diffstat (limited to 'pym/portage/tests')
-rw-r--r-- | pym/portage/tests/dep/test_isvalidatom.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index a10d730b3..e74ec8ff5 100644 --- a/pym/portage/tests/dep/test_isvalidatom.py +++ b/pym/portage/tests/dep/test_isvalidatom.py @@ -64,8 +64,10 @@ class IsValidAtom(TestCase): ( "=null/portage-2.1*", True ), ( "=foo/bar-123-1", True ), ( "=foo/bar-123-1-r1", True ), - ( "=foo/bar--baz-1-r1", False ), - ( "=foo/bar-baz--1-r1", False ), + ( "=foo/bar--baz-1-r1", True ), + ( "=foo/bar-baz--1-r1", True ), + ( "=foo/bar-baz---1-r1", True ), + ( "=foo/bar-baz---1", True ), ( "=foo/bar-baz-1--r1", False ), ] |