Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:python-cleanup-r2 commit in: eclass/tests/
Date: Wed, 09 Dec 2015 19:32:51
Message-Id: 1449689373.47a2240687451768b9e3d908938943a4e3938f25.mgorny@gentoo
1 commit: 47a2240687451768b9e3d908938943a4e3938f25
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 9 19:22:32 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 9 19:29:33 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a22406
7
8 python-utils-r1.eclass tests: Fix to ensure PYTHON for python_export
9
10 eclass/tests/python-utils-r1.sh | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
14 index 922b690..b4ee785 100755
15 --- a/eclass/tests/python-utils-r1.sh
16 +++ b/eclass/tests/python-utils-r1.sh
17 @@ -14,7 +14,7 @@ test_var() {
18 tbegin "${var} for ${impl}"
19
20 local ${var}
21 - python_export ${impl} ${var}
22 + python_export ${impl} PYTHON ${var}
23 [[ ${!var} == ${expect} ]] || eerror "(${impl}: ${var}: ${!var} != ${expect}"
24
25 tend ${?}