0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.1267: MS-Windows: tests may fail due to $PROMPT value

Problem:    MS-Windows: tests may fail due to $PROMPT value.
Solution:   Set $PROMPT for testing. (Taro Muraoka, closes #6510)
This commit is contained in:
Bram Moolenaar
2020-07-22 18:14:58 +02:00
parent bc6fcbe4ce
commit 2690b5aed8
2 changed files with 7 additions and 0 deletions

View File

@@ -117,6 +117,11 @@ set shellslash
let s:srcdir = expand('%:p:h:h')
if has('win32')
" avoid prompt that is long or contains a line break
let $PROMPT = '$P$G'
endif
" Prepare for calling test_garbagecollect_now().
let v:testing = 1

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1267,
/**/
1266,
/**/