comparison src/testdir/test_shell.vim @ 30158:008808e60963 v9.0.0415

patch 9.0.0415: on MS-Windows some tests are flaky Commit: https://github.com/vim/vim/commit/0500e87eba7b2a82392dbb5d573de19f8ff138e7 Author: K.Takata <kentkt@csc.jp> Date: Thu Sep 8 12:28:02 2022 +0100 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 #11082)
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Sep 2022 13:30:05 +0200
parents 454cbc872368
children 5bc844667d46
comparison
equal deleted inserted replaced
30157:ff2d85c28e76 30158:008808e60963
3 3
4 source check.vim 4 source check.vim
5 source shared.vim 5 source shared.vim
6 6
7 func Test_shell_options() 7 func Test_shell_options()
8 if has('win32')
9 " FIXME: This test is flaky on MS-Windows.
10 let g:test_is_flaky = 1
11 endif
12
8 " The expected value of 'shellcmdflag', 'shellpipe', 'shellquote', 13 " The expected value of 'shellcmdflag', 'shellpipe', 'shellquote',
9 " 'shellredir', 'shellxescape', 'shellxquote' for the supported shells. 14 " 'shellredir', 'shellxescape', 'shellxquote' for the supported shells.
10 let shells = [] 15 let shells = []
11 if has('unix') 16 if has('unix')
12 let shells += [['sh', '-c', '2>&1| tee', '', '>%s 2>&1', '', ''], 17 let shells += [['sh', '-c', '2>&1| tee', '', '>%s 2>&1', '', ''],