# HG changeset patch # User Christian Brabandt # Date 1496605503 -7200 # Node ID 9ca1c9997863c89128006467f75c3a3f88555cc0 # Parent 0e0fc3272dd93f79c5a389e23f61b8dba5f167f3 patch 8.0.0617: hardcopy test hangs on MS-Windows commit https://github.com/vim/vim/commit/763209c57bf50ae777f9c2929eeea01eff7ae6ee Author: Bram Moolenaar Date: Sun Jun 4 21:40:36 2017 +0200 patch 8.0.0617: hardcopy test hangs on MS-Windows Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported. diff --git a/src/testdir/test_hardcopy.vim b/src/testdir/test_hardcopy.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 617, +/**/ 616, /**/ 615,