File tree 4 files changed +16
-6
lines changed
4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ mch_inchar(
511
511
|| interrupted
512
512
#endif
513
513
|| wait_time > 0
514
- || !did_start_blocking )
514
+ || ( wtime < 0 && !did_start_blocking ) )
515
515
continue ;
516
516
517
517
/* no character available or interrupted */
Original file line number Diff line number Diff line change @@ -11,13 +11,15 @@ func Test_client_server()
11
11
if cmd == ' '
12
12
return
13
13
endif
14
- if has (' unix' )
14
+ if has (' x11' )
15
+ if empty ($DISPLAY )
16
+ throw ' Skipped: $DISPLAY is not set'
17
+ endif
15
18
try
16
19
call remote_send (' xxx' , ' ' )
17
20
catch
18
21
if v: exception = ~ ' E240:'
19
- " No connection to the X server, give up.
20
- return
22
+ throw ' Skipped: no connection to the X server'
21
23
endif
22
24
" ignore other errors
23
25
endtry
Original file line number Diff line number Diff line change @@ -118,8 +118,12 @@ func Test_quotestar()
118
118
119
119
if has (' macunix' )
120
120
let skipped = Do_test_quotestar_for_macunix ()
121
- elseif ! empty (" $DISPLAY" )
122
- let skipped = Do_test_quotestar_for_x11 ()
121
+ elseif has (' x11' )
122
+ if empty ($DISPLAY )
123
+ let skipped = " Test can only run when $DISPLAY is set."
124
+ else
125
+ let skipped = Do_test_quotestar_for_x11 ()
126
+ endif
123
127
else
124
128
let skipped = " Test is not implemented yet for this platform."
125
129
endif
Original file line number Diff line number Diff line change @@ -779,6 +779,10 @@ static char *(features[]) =
779
779
780
780
static int included_patches [] =
781
781
{ /* Add new patch number below this line */
782
+ /**/
783
+ 512 ,
784
+ /**/
785
+ 511 ,
782
786
/**/
783
787
510 ,
784
788
/**/
You can’t perform that action at this time.
0 commit comments