From 763209c57bf50ae777f9c2929eeea01eff7ae6ee Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 4 Jun 2017 21:40:36 +0200 Subject: [PATCH] patch 8.0.0617: hardcopy test hangs on MS-Windows Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported. --- src/testdir/test_hardcopy.vim | 14 ++++++++------ src/version.c | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/testdir/test_hardcopy.vim b/src/testdir/test_hardcopy.vim index 2a316d4f0..07bb2479b 100644 --- a/src/testdir/test_hardcopy.vim +++ b/src/testdir/test_hardcopy.vim @@ -62,10 +62,12 @@ func Test_with_syntax() endfunc func Test_fname_with_spaces() - split t\ e\ s\ t.txt - call setline(1, ['just', 'some', 'text']) - hardcopy > %.ps - call assert_true(filereadable('t e s t.txt.ps')) - call delete('t e s t.txt.ps') - bwipe! + if has('postscript') + split t\ e\ s\ t.txt + call setline(1, ['just', 'some', 'text']) + hardcopy > %.ps + call assert_true(filereadable('t e s t.txt.ps')) + call delete('t e s t.txt.ps') + bwipe! + endif endfunc diff --git a/src/version.c b/src/version.c index eb4694859..4fddbb924 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 617, /**/ 616, /**/ -- 2.50.1