Ozaki Kiichi wrote:

> ## Problem
> 
> `Test_swapinfo()` fails in CI.
> 
> 8.1.0315
> https://travis-ci.org/vim/vim/jobs/418866410
> 
> ```
> >From test_swap.vim:
> Found errors in Test_swapinfo():
> function RunTheTest[40]..Test_swapinfo line 9: Expected 
> 'travis-job-vim-vim-418866410.travisci.net' but got 
> 'travis-job-vim-vim-418866410.travisci.n'
> ```
> 
> ## Cause
> 
> The hostname of Travis-CI Ubuntu worker is 
> "travis-job-vim-vim-418866410.travisci.net", this is 41 bytes, but `host` 
> (and also `user`) field of `swapinfo()` is truncated to at most 39 bytes.
> 
> https://github.com/vim/vim/blob/c631f2df624954184509df49479d52ad7fe5233b/src/memline.c#L136-L137
> 
> ## Solution
> 
> * Truncate the expected value (`hostname()`) to 39bytes
> * Add the notation to document

Thanks.  Travis was completely broken yesterday, thus I didn't notice.

-- 
ARTHUR:       You are indeed brave Sir knight, but the fight is mine.
BLACK KNIGHT: Had enough?
ARTHUR:       You stupid bastard.  You havn't got any arms left.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui