Mercurial > vim
changeset 17572:0d7c87cad133 v8.1.1783
patch 8.1.1783: MS-Windows: compiler test may fail when using %:S
commit https://github.com/vim/vim/commit/dff2adc8ddcb6c8f3390a82c321362f8d6756fb8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 31 22:18:22 2019 +0200
patch 8.1.1783: MS-Windows: compiler test may fail when using %:S
Problem: MS-Windows: compiler test may fail when using %:S.
Solution: Reset 'shellslash'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Jul 2019 22:30:06 +0200 |
parents | 2704c4e3e20a |
children | c9e79e8ef303 |
files | src/testdir/test_compiler.vim src/version.c |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -10,6 +10,10 @@ func Test_compiler() unlet $LANG endif + " %:S does not work properly with 'shellslash' set + let save_shellslash = &shellslash + set noshellslash + e Xfoo.pl compiler perl call assert_equal('perl', b:current_compiler) @@ -27,6 +31,7 @@ func Test_compiler() call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " \ . "requires explicit package name", a) + let &shellslash = save_shellslash call delete('Xfoo.pl') bw! endfunc