pyenv/test
Mislav Marohnić e2173df4aa Revert "Don't duplicate shims in PATH"
Too many of our users have a shell initialization set up that
inadvertently duplicates some or most of the entries in their PATH,
bringing the system paths again in front of rbenv's shims. If this was a
nested shell (a typical scenario when starting up tmux), `rbenv init`
would get eval'd again but this time, shims won't get added to the front
of the PATH and would only stay and the end of the path, effectively
rendering them useless.

I tried to argue that this is a user problem rather than rbenv's, but I
can't fix everybody shell init when they report bugs. Instead, let's
revert to simpler times in rbenv where we just roll along with the
duplication and don't ask any questions.

This reverts commit 03fa148e81.

Fixes #369
2014-10-15 01:43:24 +02:00
..
libexec tests galore 2013-03-07 15:07:32 -05:00
--version.bats work around bug in git 1.8.2.1 in tests 2013-06-07 19:13:54 +02:00
commands.bats fix iterating through paths that have spaces in them 2013-04-01 01:04:19 +02:00
completions.bats Fix detecting completions support on OpenBSD 2014-01-02 22:33:54 +01:00
exec.bats Revert "rbenv exec: avoid mutating PATH" 2013-11-03 12:18:28 +02:00
global.bats tests galore 2013-03-07 15:07:32 -05:00
help.bats add tests for help and rbenv --version 2013-04-08 23:16:35 +02:00
hooks.bats undo assert_output_lines in tests 2013-04-08 23:16:35 +02:00
init.bats Revert "Don't duplicate shims in PATH" 2014-10-15 01:43:24 +02:00
local.bats add tests for version commands 2013-04-08 23:16:35 +02:00
prefix.bats Fix emulating the scenario where system Ruby is missing on OpenBSD 2014-01-02 22:30:21 +01:00
rbenv.bats tests galore 2013-03-07 15:07:32 -05:00
rehash.bats Avoid invoking hash -r in fish 2013-10-31 20:18:14 +02:00
shell.bats reliably detect parent shell in rbenv init 2013-10-07 03:24:45 +02:00
shims.bats tests galore 2013-03-07 15:07:32 -05:00
test_helper.bash Fix emulating the scenario where system Ruby is missing on OpenBSD 2014-01-02 22:30:21 +01:00
version-file-read.bats Move carriage return test to version-file-read 2014-03-21 01:32:29 +01:00
version-file-write.bats add tests for version commands 2013-04-08 23:16:35 +02:00
version-file.bats add tests for version commands 2013-04-08 23:16:35 +02:00
version-name.bats add tests for version commands 2013-04-08 23:16:35 +02:00
version-origin.bats add tests for version commands 2013-04-08 23:16:35 +02:00
version.bats Move carriage return test to version-file-read 2014-03-21 01:32:29 +01:00
versions.bats Add tests for non-directory types under RBENV_ROOT/versions/ 2014-10-13 04:02:46 +02:00
whence.bats undo assert_output_lines in tests 2013-04-08 23:16:35 +02:00
which.bats Isolate rbenv-which tests from any .ruby-version file on the system 2014-10-13 12:39:47 +02:00