mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 8.0.0617: hardcopy test hangs on MS-Windows
Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported.
This commit is contained in:
@@ -62,10 +62,12 @@ func Test_with_syntax()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_fname_with_spaces()
|
func Test_fname_with_spaces()
|
||||||
|
if has('postscript')
|
||||||
split t\ e\ s\ t.txt
|
split t\ e\ s\ t.txt
|
||||||
call setline(1, ['just', 'some', 'text'])
|
call setline(1, ['just', 'some', 'text'])
|
||||||
hardcopy > %.ps
|
hardcopy > %.ps
|
||||||
call assert_true(filereadable('t e s t.txt.ps'))
|
call assert_true(filereadable('t e s t.txt.ps'))
|
||||||
call delete('t e s t.txt.ps')
|
call delete('t e s t.txt.ps')
|
||||||
bwipe!
|
bwipe!
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
617,
|
||||||
/**/
|
/**/
|
||||||
616,
|
616,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user