pyenv/test
Mislav Marohnić ed1a3a5545
Switch back to resolving symlinks for rbenv executable (#1439)
Considerations:

- `./libexec/rbenv` executable is the entrypoint to the program;

- BASH_SOURCE might be the path to a symlink that has activated `./libexec/rbenv`;

- We must resolve the symlink to learn where rbenv's libexec directory is;

- It's not guaranteed that rbenv commands will always remain directly under their own "libexec" directory, since a package maintainer can change that, e.g. rbenv commands are sometimes placed into `/usr/libexec/rbenv/*`;

- Resolving symlinks might fail and in that case we just assume rbenv project layout.
2022-09-29 15:27:17 +02:00
..
libexec
--version.bats Improve git --version git revision lookup 2015-12-24 03:52:33 +01:00
commands.bats
completions.bats
exec.bats Supply head -n flag explicitly 2021-05-05 22:42:56 +02:00
global.bats Remove support for legacy global version files 2015-12-28 22:05:00 -05:00
help.bats Add man page (#1438) 2022-09-27 02:17:50 +02:00
hooks.bats Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
init.bats Init script automatically adds rbenv to PATH if necessary (#1432) 2022-09-24 23:59:13 +02:00
local.bats Remove support for legacy version file 2015-12-28 21:34:07 -05:00
prefix.bats rbenv-prefix: do not silence rbenv-which for system version 2018-08-07 01:44:13 +02:00
rbenv.bats Switch back to resolving symlinks for rbenv executable (#1439) 2022-09-29 15:27:17 +02:00
rehash.bats Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00
run Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
shell.bats Make work in set -u (nounset) mode 2020-05-24 09:08:05 +03:00
shims.bats
test_helper.bash Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
version-file-read.bats Disallow path segments and directory traversal in .ruby-version files 2019-04-03 12:58:25 +02:00
version-file-write.bats
version-file.bats Fix https://github.com/rbenv/rbenv/issues/1065 2018-02-26 16:49:37 +08:00
version-name.bats Spelling fix 2020-04-23 07:59:28 +03:00
version-origin.bats Fix (revert) test/version-origin.bats 2020-01-16 23:24:42 +08:00
version.bats Fix tests for #1203 2020-01-08 16:41:14 +08:00
versions.bats 💅 Clean up version sorting and add test 2021-09-29 20:07:47 +02:00
whence.bats
which.bats Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00