Ivan Pozdeev
74c6efe2f4
Adapt tests involving current directory for Docker
In Docker CI tests, the default current dir is read-only
há 18 horas
native-api
95df7dbc7b
Merge commit from fork
há 18 horas
native-api
8037f22665
rehash: streamline executables discovery; fix regression ( #3418 )
Separate the corner-cutting code for `rehash' into a dedicated branch.
Saves some more time (about 100ms for the large fixture)
há 4 meses
Ivan Pozdeev
b259813357
tests: refactor: rename and consolidate create_executable() functions
há 6 meses
rockandska
92a28e531b
use BATS_FILE_TMPDIR in test/plugin test
use global setup with bats with possibility to add specific test file _setup
use readlink in helper if realpath is not working as expected
há 10 meses
rockandska
0d987b0e4b
fix test isolation
Make sur that PYENV_TEST_DIR is created if mktemp failed
mock python3 usage by updating create_executable function
fix test by adding the right PATH
update path in plugin test
replace for loop with while read
don't use symlink for stub
há 10 meses
native-api
dee8a9dbad
Fix intermittent "broken pipe" in version sort test ( #2817 )
há 2 anos
native-api
20189ff06f
Fix not showing symlink contents for unselected versions in `pyenv versions` ( #2675 )
há 3 anos
Ivan Pozdeev
9fe80f28e5
Add `pyenv versions' option to skip envs for `pyenv-latest'
há 3 anos
native-api
9248255f70
Show symlink contents in non-bare `pyenv versions' ( #2609 )
* Change other tests to use the newly-created convenience function
há 3 anos
Pedro Fonini
fdaeaf1f97
Use version sort in `pyenv versions` if available ( #2405 )
há 4 anos
Ivan Pozdeev
876be1bb04
Bats: path_without: support multiple args
há 4 anos
Maxime Brunet
2b174ab69f
List versions starting with a dot
há 7 anos
Mislav Marohnić
e80886e9be
Add `rbenv versions --skip-aliases` option
Useful in combination with `--bare` to list just the unique version
numbers without the extra directory entries that are symlinks to other
version numbers in the same directory.
há 10 anos
Yamashita Yuu
8e657374a1
Import recent changes from rbenv-versions
há 11 anos
Mislav Marohnić
9bcef4b875
Add tests for non-directory types under `RBENV_ROOT/versions/`
há 11 anos
Mislav Marohnić
f237a11f4f
Have `versions` emit a warning when no Ruby version was found
há 11 anos
Yamashita Yuu
319721b380
Modify applications and versions for Python
há 12 anos
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
há 12 anos
Jeffrey 'jf' Lim
4f2f6f8575
Fix test suite when no system Ruby exists
Some tests assumed that the `ruby` executable will be found in system PATH.
Fixes #512 , closes #514
há 12 anos
Mislav Marohnić
bc1049f5ae
improve `versions` tests by cd'ing into a clean slate
há 13 anos
Mislav Marohnić
ab197ef51e
add tests for version commands
há 13 anos