Permalink
Browse files

patch 8.0.0617: hardcopy test hangs on MS-Windows

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 763209c57bf50ae777f9c2929eeea01eff7ae6ee
Showing with 10 additions and 6 deletions.
  1. +8 −6 src/testdir/test_hardcopy.vim
  2. +2 −0 src/version.c
@@ -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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
617,
/**/
616,
/**/

0 comments on commit 763209c

Please sign in to comment.