aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_buffer.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-22 17:45:44 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-22 18:56:43 +0800
commit10990eace23fa7eef39203359dca8f9cde1dcc90 (patch)
tree417b74224c0c03ffdd840b3c61841acbb9b0364a /test/old/testdir/test_buffer.vim
parentc170708023149221e5364a72094aa9ab94bfe8cd (diff)
downloadrneovim-10990eace23fa7eef39203359dca8f9cde1dcc90.tar.gz
rneovim-10990eace23fa7eef39203359dca8f9cde1dcc90.tar.bz2
rneovim-10990eace23fa7eef39203359dca8f9cde1dcc90.zip
vim-patch:9.0.0415: on MS-Windows some tests are flaky
Problem: On MS-Windows some tests are flaky. Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata, closes vim/vim#11082) https://github.com/vim/vim/commit/0500e87eba7b2a82392dbb5d573de19f8ff138e7 Co-authored-by: K.Takata <kentkt@csc.jp>
Diffstat (limited to 'test/old/testdir/test_buffer.vim')
-rw-r--r--test/old/testdir/test_buffer.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_buffer.vim b/test/old/testdir/test_buffer.vim
index 1ea255da5b..2e5b7491c8 100644
--- a/test/old/testdir/test_buffer.vim
+++ b/test/old/testdir/test_buffer.vim
@@ -379,6 +379,7 @@ endfunc
func Test_buffer_scheme()
CheckMSWindows
+ set noswapfile
set noshellslash
%bwipe!
let bufnames = [
@@ -401,6 +402,7 @@ func Test_buffer_scheme()
endfor
set shellslash&
+ set swapfile&
endfunc
" this was using a NULL pointer after failing to use the pattern