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