patch 8.1.2259: running tests may leave XfakeHOME behind
Problem: Running tests may leave XfakeHOME behind.
Solution: Source summarize.vim without using setup.vim. (closes #5177)
Also fix that on MS-Windows the test log isn't echoed.
diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak
index 7aec010..66839d6 100644
--- a/src/testdir/Make_dos.mak
+++ b/src/testdir/Make_dos.mak
@@ -75,7 +75,7 @@
$(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages
@echo.
@echo Test results:
- @type test_result.log
+ @cmd /c type test_result.log
@if exist test.log ( echo TEST FAILURE & exit /b 1 ) \
else ( echo ALL DONE )
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index d4290f9..a0520e0 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -54,7 +54,7 @@
then cp test.log test_result.log; \
else echo No failures reported > test_result.log; \
fi"
- $(RUN_VIMTEST) $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL)
+ $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL)
@echo
@echo 'Test results:'
@cat test_result.log
diff --git a/src/version.c b/src/version.c
index 464de12..0a210b6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2259,
+/**/
2258,
/**/
2257,