aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/shared.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/shared.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/shared.vim')
-rw-r--r--test/old/testdir/shared.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/shared.vim b/test/old/testdir/shared.vim
index e7a5f471e7..fc7e6b643a 100644
--- a/test/old/testdir/shared.vim
+++ b/test/old/testdir/shared.vim
@@ -64,7 +64,7 @@ func RunCommand(cmd)
let job = job_start(a:cmd, {"stoponexit": "hup"})
call job_setoptions(job, {"stoponexit": "kill"})
elseif has('win32')
- exe 'silent !start cmd /c start "test_channel" ' . a:cmd
+ exe 'silent !start cmd /D /c start "test_channel" ' . a:cmd
else
exe 'silent !' . a:cmd . '&'
endif