neovim/test/unit/os
Justin M. Keyes 59712f6dbe
win: avoid duplicate separators in $PATH #12869
Seems like redundant env var separators (";" on Windows) in $PATH can
cause weird behavior. From #7377:

> After some time, system(['win32yank', '-o']) and system('win32yank -o')
> start returning different results: specifically first returns an
> empty string.
>
> 1. $PATH weirdly contains double semicolon followed by path to the
>    “installation directory” (unpacked directory from archive).
> 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed.

close #7377
ref 224f99b85d
2020-09-08 20:47:22 -07:00
..
env_spec.lua win: avoid duplicate separators in $PATH #12869 2020-09-08 20:47:22 -07:00
fileio_spec.lua Merge branch 'master' into s-dash-stdin 2017-12-03 16:49:30 +03:00
fs_spec.lua tests: improve error message with literat "~" directory (#11032) 2019-09-17 00:39:33 +02:00
shell_spec.lua shell/logging: Fix E730 with verbose system({List}) #9009 2018-09-21 09:20:04 +02:00
users_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00