Ivan Pozdeev
74c6efe2f4
Adapt tests involving current directory for Docker
In Docker CI tests, the default current dir is read-only
il y a 18 heures
native-api
95df7dbc7b
Merge commit from fork
il y a 18 heures
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)
il y a 4 mois
Ivan Pozdeev
b259813357
tests: refactor: rename and consolidate create_executable() functions
il y a 6 mois
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
il y a 10 mois
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
il y a 10 mois
native-api
dee8a9dbad
Fix intermittent "broken pipe" in version sort test ( #2817 )
il y a 2 ans
native-api
20189ff06f
Fix not showing symlink contents for unselected versions in `pyenv versions` ( #2675 )
il y a 3 ans
Ivan Pozdeev
9fe80f28e5
Add `pyenv versions' option to skip envs for `pyenv-latest'
il y a 3 ans
native-api
9248255f70
Show symlink contents in non-bare `pyenv versions' ( #2609 )
* Change other tests to use the newly-created convenience function
il y a 3 ans
Pedro Fonini
fdaeaf1f97
Use version sort in `pyenv versions` if available ( #2405 )
il y a 4 ans
Ivan Pozdeev
876be1bb04
Bats: path_without: support multiple args
il y a 4 ans
Maxime Brunet
2b174ab69f
List versions starting with a dot
il y a 7 ans
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.
il y a 10 ans
Yamashita Yuu
8e657374a1
Import recent changes from rbenv-versions
il y a 11 ans
Mislav Marohnić
9bcef4b875
Add tests for non-directory types under `RBENV_ROOT/versions/`
il y a 11 ans
Mislav Marohnić
f237a11f4f
Have `versions` emit a warning when no Ruby version was found
il y a 11 ans
Yamashita Yuu
319721b380
Modify applications and versions for Python
il y a 12 ans
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
il y a 12 ans
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
il y a 12 ans
Mislav Marohnić
bc1049f5ae
improve `versions` tests by cd'ing into a clean slate
il y a 13 ans
Mislav Marohnić
ab197ef51e
add tests for version commands
il y a 13 ans