瀏覽代碼

Fixed shebang kernel limitation with virtualenv during test run (https://github.com/pypa/virtualenv/issues/596)

Change-Id: I3968ae934038e2bedb4efedd75491bec20ac8bf4
pull/144/head
Jakub Josef 6 年之前
父節點
當前提交
8e994f935c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      tests/run_tests.sh

+ 2
- 2
tests/run_tests.sh 查看文件

@@ -37,7 +37,7 @@ setup_virtualenv() {
log_info "Setting up Python virtualenv"
virtualenv $VENV_DIR
source ${VENV_DIR}/bin/activate
pip install salt${PIP_SALT_VERSION}
python -m pip install salt${PIP_SALT_VERSION}
}

setup_pillar() {
@@ -111,7 +111,7 @@ clean() {

salt_run() {
[ -e ${VENV_DIR}/bin/activate ] && source ${VENV_DIR}/bin/activate
salt-call ${SALT_OPTS} $*
python $(which salt-call) ${SALT_OPTS} $*
}

prepare() {

Loading…
取消
儲存