# HG changeset patch # User Bram Moolenaar # Date 1595435405 -7200 # Node ID ad7ffbd3f02f87a4d01fb186cf7949d4ed7ff957 # Parent 10571a176468b402a15a2336bc8610ddb47572d2 patch 8.2.1267: MS-Windows: tests may fail due to $PROMPT value Commit: https://github.com/vim/vim/commit/2690b5aed8b6b6070430b05dcae296cd9479c942 Author: Bram Moolenaar Date: Wed Jul 22 18:14:58 2020 +0200 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 https://github.com/vim/vim/issues/6510) diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1267, +/**/ 1266, /**/ 1265,