1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 15:53:45 -05:00

Fix rehash test to give up sooner after lock file's presence

This commit is contained in:
Yamashita, Yuu
2018-04-24 00:37:29 +00:00
parent b1e3f13a85
commit 7973e59473
2 changed files with 7 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ create_executable() {
}
@test "rehash in progress" {
export PYENV_REHASH_TIMEOUT=1
mkdir -p "${PYENV_ROOT}/shims"
touch "${PYENV_ROOT}/shims/.pyenv-shim"
run pyenv-rehash