summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-04 21:05:46 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-04 21:05:46 +0000
commit9f39407d845820b8e864e1a0d03b8102936f5aa0 (patch)
tree3fd35dbf7046fceb91d8540c22fe003311e47a11
parent95c55c0dcc4f63ffe2158cdc9414a82509718c92 (diff)
downloadportage-9f39407d845820b8e864e1a0d03b8102936f5aa0.tar.gz
portage-9f39407d845820b8e864e1a0d03b8102936f5aa0.tar.bz2
portage-9f39407d845820b8e864e1a0d03b8102936f5aa0.zip
More cases.
svn path=/main/trunk/; revision=15165
-rw-r--r--pym/portage/tests/versions/test_vercmp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/versions/test_vercmp.py b/pym/portage/tests/versions/test_vercmp.py
index b44f85aca..9de3344ce 100644
--- a/pym/portage/tests/versions/test_vercmp.py
+++ b/pym/portage/tests/versions/test_vercmp.py
@@ -20,6 +20,7 @@ class VerCmpTestCase(TestCase):
("1.0.0", "1.0"),
("1.0b", "1.0.0"),
("1b", "1"),
+ ("1b_p1", "1_p1"),
("1.1b", "1.1"),
("12.2b", "12.2.5"),
]
@@ -41,6 +42,7 @@ class VerCmpTestCase(TestCase):
("1.0", "1.0-r1"),
("1.0", "1.0.0"),
("1.0.0", "1.0b"),
+ ("1_p1", "1b_p1"),
("1", "1b"),
("1.1", "1.1b"),
("12.2.5", "12.2b"),
@@ -70,6 +72,7 @@ class VerCmpTestCase(TestCase):
("1.0", "1.0-r1"),
("1.0-r1", "1.0"),
("1.0", "1.0.0"),
+ ("1_p1", "1b_p1"),
("1b", "1"),
("1.1b", "1.1"),
("12.2b", "12.2"),