]> git.feebdaed.xyz Git - 0xmirror/vim.git/commit
patch 9.1.2003: tests: Test_glob_symlinks may fail on Window
authorMuraoka Taro <koron.kaoriya@gmail.com>
Sun, 21 Dec 2025 19:09:20 +0000 (19:09 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 21 Dec 2025 19:09:20 +0000 (19:09 +0000)
commitfa2fca1ebf8215987a18e0822e78713639b7534c
tree12ed16425ae73163549c2639c246334787cf53db
parentc1d77520b8baad9f3d53e9f57b416aee3b25a069
patch 9.1.2003: tests: Test_glob_symlinks may fail on Window

Problem:  tests: Test_glob_symlinks may fail on Windows with UCRT
          runtime
Solution: Comment out the code, do not use _wstat().
          (author)

For Test_glob_symlinks() to succeed, vim_stat() (which is actually
mswin_stat_impl()) must fail on empty symlinks.  When the dynamically
linked C runtime is linked, _wstat() succeeds even on empty symbolic
links. As a result, Test_glob_symlinks() fails.

For details, see here:
https://github.com/koron/vc-stat-behavior-verification

closes: #18962

Signed-off-by: Muraoka Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_mswin.c
src/version.c