diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-04 18:50:50 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-01-04 19:36:35 +0800 |
| commit | 6c3502d85ab4d8fa26378b532290a2bac06d4fd2 (patch) | |
| tree | beea33d4d65bf5aec2406d926aa002b789b73b48 /test/functional/vimscript/executable_spec.lua | |
| parent | 3e57c5216fadc3dfe5ab1d04388e2b4de1b0e8c6 (diff) | |
| download | rneovim-6c3502d85ab4d8fa26378b532290a2bac06d4fd2.tar.gz rneovim-6c3502d85ab4d8fa26378b532290a2bac06d4fd2.tar.bz2 rneovim-6c3502d85ab4d8fa26378b532290a2bac06d4fd2.zip | |
vim-patch:9.1.2050: tests: Test_cd_completion may fail
Problem: tests: Test_cd_completion() may fail depending on the contents
of the root directory of the current drive on Windows.
readdir() may return a directory that cannot "cd" to, causing
this test to fail. An example of such a directory is
"System Volume Information" which only admin can "cd" to.
Solution: When determining the directory to use for testing, use the
directory that we actually "cd" to successfully.
In addition, directories with '$' in their names are also
excluded, as they are considered environment variables during
completion and do not work as expected.
Example: "$RECYCLE.BIN" (Muraoka Taro).
closes: vim/vim#19078
https://github.com/vim/vim/commit/6625ba359e33f8223d146f3ae87a880c446b5470
Co-authored-by: Muraoka Taro <koron.kaoriya@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions