Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r15228 - main/branches/2.1.7/pym/portage/tests/versions
Date: Fri, 29 Jan 2010 18:44:17
Message-Id: E1Navp7-0005Yy-JC@stork.gentoo.org
1 Author: zmedico
2 Date: 2010-01-29 18:44:05 +0000 (Fri, 29 Jan 2010)
3 New Revision: 15228
4
5 Modified:
6 main/branches/2.1.7/pym/portage/tests/versions/test_vercmp.py
7 Log:
8 Add test cases for implicit .0 at end of version. (trunk r15160)
9
10 Modified: main/branches/2.1.7/pym/portage/tests/versions/test_vercmp.py
11 ===================================================================
12 --- main/branches/2.1.7/pym/portage/tests/versions/test_vercmp.py 2010-01-29 18:43:50 UTC (rev 15227)
13 +++ main/branches/2.1.7/pym/portage/tests/versions/test_vercmp.py 2010-01-29 18:44:05 UTC (rev 15228)
14 @@ -16,6 +16,7 @@
15 ("1.0-r1", "1.0-r0"),
16 ("1.0-r1", "1.0"),
17 ("999999999999999999999999999999", "999999999999999999999999999998"),
18 + ("1.0.0", "1.0"),
19 ("12.2.5", "12.2b"),
20 ]
21 for test in tests:
22 @@ -33,6 +34,7 @@
23 ("1.01", "1.1"),
24 ("1.0-r0", "1.0-r1"),
25 ("1.0", "1.0-r1"),
26 + ("1.0", "1.0.0"),
27 ("12.2b", "12.2.5"),
28 ]
29 for test in tests:
30 @@ -58,6 +60,7 @@
31 ("1.0-r1", "1.0-r0"),
32 ("1.0", "1.0-r1"),
33 ("1.0-r1", "1.0"),
34 + ("1.0", "1.0.0"),
35 ("12.2b", "12.2"),
36 ]
37 for test in tests: