aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_swap.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-20 18:02:05 +0800
committerGitHub <noreply@github.com>2024-10-20 18:02:05 +0800
commitce9a9b4700262fb50312720bfdffbebfc7d8ef7a (patch)
tree95aafe7cd4205353ab5d555f731660cb231eb5e3 /test/old/testdir/test_swap.vim
parent573fcb8b6641fe623a7064ff3ae320053f255e42 (diff)
downloadrneovim-ce9a9b4700262fb50312720bfdffbebfc7d8ef7a.tar.gz
rneovim-ce9a9b4700262fb50312720bfdffbebfc7d8ef7a.tar.bz2
rneovim-ce9a9b4700262fb50312720bfdffbebfc7d8ef7a.zip
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 https://github.com/vim/vim/commit/4f5681dbdfaf25f3357cba3172906c076421c7b9 Cherry-pick Test_cursorhold_insert_with_timer_interrupt() change from patch 8.2.1836. Co-authored-by: Milly <milly.ca@gmail.com>
Diffstat (limited to 'test/old/testdir/test_swap.vim')
-rw-r--r--test/old/testdir/test_swap.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_swap.vim b/test/old/testdir/test_swap.vim
index 8a1b3ce133..e174356ed7 100644
--- a/test/old/testdir/test_swap.vim
+++ b/test/old/testdir/test_swap.vim
@@ -420,7 +420,7 @@ func s:get_unused_pid(base)
if has('job')
" Execute 'echo' as a temporary job, and return its pid as an unused pid.
if has('win32')
- let cmd = 'cmd /c echo'
+ let cmd = 'cmd /D /c echo'
else
let cmd = 'echo'
endif