aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-17 09:31:50 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-17 09:54:03 +0800
commitb5b6e6fb496df3dccf6f14f6f816b48b99dca000 (patch)
tree68c69890f1fb180378b193b3b76395ba4ab32627
parenteae10de14e8584b8c6c2b7b8255c8191b969698d (diff)
downloadrneovim-b5b6e6fb496df3dccf6f14f6f816b48b99dca000.tar.gz
rneovim-b5b6e6fb496df3dccf6f14f6f816b48b99dca000.tar.bz2
rneovim-b5b6e6fb496df3dccf6f14f6f816b48b99dca000.zip
vim-patch:9.0.1878: tests running sh have problems
Problem: tests running sh have problems Solution: Check that dash is installed closes: vim/vim#13040 https://github.com/vim/vim/commit/1690ec64ffd784cddddb937870f5891adbb21986 Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com> Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--test/old/testdir/test_crash.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/old/testdir/test_crash.vim b/test/old/testdir/test_crash.vim
index aa30684291..b6ae4d2153 100644
--- a/test/old/testdir/test_crash.vim
+++ b/test/old/testdir/test_crash.vim
@@ -6,10 +6,8 @@ CheckScreendump
func Test_crash1()
CheckNotBSD
+ CheckExecutable dash
- if !executable('sh')
- throw 'Skipped: sh not executable!'
- endif
" The following used to crash Vim
let opts = #{cmd: 'sh'}
let vim = GetVimProg()
@@ -64,7 +62,7 @@ func Test_crash1()
let args = printf(cmn_args, vim, file)
call term_sendkeys(buf, args ..
\ ' && echo "crash 7: [OK]" >> X_crash1_result.txt' .. "\<cr>")
- call TermWait(buf, 1000)
+ call TermWait(buf, 3000)
" clean up
exe buf .. "bw!"