Skip to content

Commit

Permalink
patch 8.0.0617: hardcopy test hangs on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Hardcopy test hangs on MS-Windows.
Solution:   Check the postscript feature is supported.
  • Loading branch information
brammool committed Jun 4, 2017
1 parent 1615b36 commit 763209c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/testdir/test_hardcopy.vim
Expand Up @@ -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
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -764,6 +764,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
617,
/**/
616,
/**/
Expand Down

0 comments on commit 763209c

Please sign in to comment.