Don't print actual PATH in test output
This commit is contained in:
parent
5998f4f7ab
commit
b0b862ca64
@ -90,7 +90,7 @@ OUT
|
|||||||
assert_success "${system_python}"
|
assert_success "${system_python}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test '$PATH is not modified with system Python' {
|
@test 'PATH is not modified with system Python' {
|
||||||
# Create a wrapper executable that verifies PATH.
|
# Create a wrapper executable that verifies PATH.
|
||||||
PYENV_VERSION="custom"
|
PYENV_VERSION="custom"
|
||||||
create_executable "python" '[[ "$PATH" == "${PYENV_TEST_DIR}/root/versions/custom/bin:"* ]] || { echo "unexpected:$PATH"; exit 2;}'
|
create_executable "python" '[[ "$PATH" == "${PYENV_TEST_DIR}/root/versions/custom/bin:"* ]] || { echo "unexpected:$PATH"; exit 2;}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user