summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Pontes <otaviobp@gmail.com>2010-07-29 21:14:03 +0000
committerOtavio Pontes <otaviobp@gmail.com>2010-07-29 21:14:03 +0000
commit970154eabd1065180a1931067b98140a397645cf (patch)
tree024bedbf90d18e34c31998add9ea7f920fe0dc82
parentIf portdir is in portdir_overlay it should use portdir_overlay order (diff)
downloadportage-multirepo-970154eabd1065180a1931067b98140a397645cf.tar.gz
portage-multirepo-970154eabd1065180a1931067b98140a397645cf.tar.bz2
portage-multirepo-970154eabd1065180a1931067b98140a397645cf.zip
Readding tests and adding priority to gentoo in repos.conf.sample
-rw-r--r--pym/portage/tests/multirepo/etc/portage/repos.conf.sample1
-rw-r--r--pym/portage/tests/multirepo/test_multirepo.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/tests/multirepo/etc/portage/repos.conf.sample b/pym/portage/tests/multirepo/etc/portage/repos.conf.sample
index 5b6a5b03..97fdc5e3 100644
--- a/pym/portage/tests/multirepo/etc/portage/repos.conf.sample
+++ b/pym/portage/tests/multirepo/etc/portage/repos.conf.sample
@@ -3,6 +3,7 @@ main-repo = gentoo
[gentoo]
LOCATION=ebuilds/portage
+PRIORITY=1000
[repo1]
LOCATION=ebuilds/repo1
diff --git a/pym/portage/tests/multirepo/test_multirepo.py b/pym/portage/tests/multirepo/test_multirepo.py
index 0338865e..16e260ea 100644
--- a/pym/portage/tests/multirepo/test_multirepo.py
+++ b/pym/portage/tests/multirepo/test_multirepo.py
@@ -39,7 +39,7 @@ class testRepositorySelection(TestCase):
#package in portage and other repo
#There is a bug related to next line
- #"test-repo-selection": "(.|\n)*cat-test/test-repo-selection-2.0.*[1](.|\n)*[1].*ebuilds/repo1",
+ "test-repo-selection": "(.|\n)*cat-test/test-repo-selection-2.0.*[1](.|\n)*[1].*ebuilds/repo1",
#Package in other slot
"test-repo-selection:2": "(.|\n)*cat-test/test-repo-selection-1.4.*[1](.|\n)*[1].*ebuilds/repo2",