未验证 提交 3b32dc8b 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'clebergnu/prevent_unversion_python_from_simplewarning'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -730,7 +730,9 @@ class RunnerSimpleTest(unittest.TestCase):
simplewarning.sh uses the avocado-bash-utils
"""
# simplewarning.sh calls "avocado" without specifying a path
os.environ['PATH'] += ":" + os.path.join(basedir, 'scripts')
# let's add the path that was defined at the global module
# scope here
os.environ['PATH'] += ":" + os.path.dirname(AVOCADO)
# simplewarning.sh calls "avocado exec-path" which hasn't
# access to an installed location for the libexec scripts
os.environ['PATH'] += ":" + os.path.join(basedir, 'libexec')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册