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