From: Bram Moolenaar Date: Tue, 3 Jul 2018 17:16:00 +0000 (+0200) Subject: patch 8.1.0145: test with grep is failing on MS-Windows X-Git-Tag: v8.1.0145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=851332ea9cdabf24980a7f7c293da81fa990f864;p=vim patch 8.1.0145: test with grep is failing on MS-Windows Problem: Test with grep is failing on MS-Windows. Solution: Skip the test. --- diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim index 5e8b99396..a4006b07d 100644 --- a/src/testdir/test_quickfix.vim +++ b/src/testdir/test_quickfix.vim @@ -3457,14 +3457,17 @@ func Xautocmd_changelist(cchar) call assert_equal(4, line('.')) autocmd! QuickFixCmdPost - " Test for grep/lgrep - call g:Xsetlist([], 'f') - Xexpr 'Xtestfile1:2:Line2' - autocmd QuickFixCmdPost * Xolder - silent Xgrep Line5 Xtestfile2 - call assert_equal('Xtestfile2', bufname('')) - call assert_equal(5, line('.')) - autocmd! QuickFixCmdPost + " The grepprg may not be set on non-Unix systems + if has('unix') + " Test for grep/lgrep + call g:Xsetlist([], 'f') + Xexpr 'Xtestfile1:2:Line2' + autocmd QuickFixCmdPost * Xolder + silent Xgrep Line5 Xtestfile2 + call assert_equal('Xtestfile2', bufname('')) + call assert_equal(5, line('.')) + autocmd! QuickFixCmdPost + endif " Test for vimgrep/lvimgrep call g:Xsetlist([], 'f') diff --git a/src/version.c b/src/version.c index 07e34fc37..ea289c7ec 100644 --- a/src/version.c +++ b/src/version.c @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 145, /**/ 144, /**/