vim-patch:9.1.0794: tests: tests may fail on Windows environment (#30874)

Problem:  tests: tests may fail on Windows environment
Solution: use shellcmdflag=/D to skip executing autorun from
          the registry (Milly)

closes: vim/vim#15900

4f5681dbdf

Cherry-pick Test_cursorhold_insert_with_timer_interrupt() change from
patch 8.2.1836.

Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
zeertzjq
2024-10-20 18:02:05 +08:00
committed by GitHub
parent 573fcb8b66
commit ce9a9b4700
5 changed files with 7 additions and 7 deletions

View File

@@ -3097,7 +3097,7 @@ func Test_range()
call assert_fails('call term_start(range(3, 4))', 'E474:')
let g:terminal_ansi_colors = range(16)
if has('win32')
let cmd = "cmd /c dir"
let cmd = "cmd /D /c dir"
else
let cmd = "ls"
endif