summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_buffer.vim
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-09-08 12:28:02 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-08 12:28:02 +0100
commit0500e87eba7b2a82392dbb5d573de19f8ff138e7 (patch)
tree20c34efc6ce12212dbf96e4b6022a2b5d230fa05 /src/testdir/test_buffer.vim
parent753aead960f163d0d3f8ce523ea523f2e0cec06d (diff)
patch 9.0.0415: on MS-Windows some tests are flakyv9.0.0415
Problem: On MS-Windows some tests are flaky. Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata, closes #11082)
Diffstat (limited to 'src/testdir/test_buffer.vim')
-rw-r--r--src/testdir/test_buffer.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_buffer.vim b/src/testdir/test_buffer.vim
index 489926dfbd..9387b5f6c4 100644
--- a/src/testdir/test_buffer.vim
+++ b/src/testdir/test_buffer.vim
@@ -375,6 +375,7 @@ endfunc
func Test_buffer_scheme()
CheckMSWindows
+ set noswapfile
set noshellslash
%bwipe!
let bufnames = [
@@ -397,6 +398,7 @@ func Test_buffer_scheme()
endfor
set shellslash&
+ set swapfile&
endfunc
" this was using a NULL pointer after failing to use the pattern