mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 03:35:02 -07:00
f520c1ef85
The test of "replace environment" in the test module of `test/functional/core/job_spec.lua` failed in case the bashrc file of the user running the test has special actions in it (such actions were printing to the screen from inside this file, or changing the bash mode to be vi). In order to fix this problem, the test now sets the shell to be `/bin/sh` before running the command. Setting the shell to be `/bin/sh` causes the running shell to run without the configuration of the user, and so the test passes even in case of special .bashrc. This change was done only for platforms other than Windows since it is not relevant in windows. The fix was applied to the specific test, even though it is possible that related issues will arise in other tests. It seems like a big overhead to make the fix work on all the possible tests, and it does not worth this cost. |
||
---|---|---|
.. | ||
channels_spec.lua | ||
exit_spec.lua | ||
fileio_spec.lua | ||
job_spec.lua | ||
main_spec.lua | ||
path_spec.lua | ||
spellfile_spec.lua | ||
startup_spec.lua |