pyenv/test
Daniel Hahler ecd67c8223
pyenv-exec: no -a with exec to keep $PATH with system version (#1169)
Using `exec -a` caused Python to use $PATH to look up the full program name (for
`sys.executable`), which 314937d then tried to fix by changing $PATH
also for the system version.
This is not necessary anymore when not using the short name with `exec`.

This was rejected upstream
(https://github.com/rbenv/rbenv/pull/1089#issuecomment-394531896), since
it is not a problem with Ruby apparently.

Uses $PYENV_ROOT to check if system version is used.

Fixes https://github.com/pyenv/pyenv/issues/98.
Fixes https://github.com/pyenv/pyenv/issues/789.
2019-09-29 00:03:44 +02:00
..
libexec
--version.bats
commands.bats
completions.bats
exec.bats pyenv-exec: no -a with exec to keep $PATH with system version (#1169) 2019-09-29 00:03:44 +02:00
global.bats
help.bats
hooks.bats
init.bats
local.bats
prefix.bats
pyenv.bats
pyenv_ext.bats
rehash.bats
run
shell.bats
shims.bats
test_helper.bash
version-file-read.bats
version-file-write.bats
version-file.bats
version-name.bats
version-origin.bats
version.bats
versions.bats
whence.bats
which.bats