Hi James,

2016-9-6(Tue) 12:11:28 UTC+9 James McCoy:
> If the tests are run in a (fake)root environment,
> 
> Test_tabpage_with_tab_modifier fails when run through test_alot.vim.
> 
> This is due to &filetype being set by the modeline of the help files,
> 
> and modelines are disabled when running as (fake)root.
> 
> 
> Using &buftype instead avoids the fickleness of the way &filetype is
> 
> being set.
> 
> 
> This was found while attempting to update the Debian packaging of Vim,
> 
> but can be boiled down to:
> 
> 
> $ fakeroot make -C src/testdir test_alot.res
> 
> 
> 
> You can view, comment on, or merge this pull request online at:
> 
>   https://github.com/vim/vim/pull/1042
> 
> Commit Summary
> 
>   test_tabpage: Check &buftype in Test_tabpage_with_tab_modifier
> 
> 
> File Changes
> 
>   
>     M
>     src/testdir/test_tabpage.vim
>     (2)
>   
> 
> 
> Patch Links:
> 
>   https://github.com/vim/vim/pull/1042.patch
>   https://github.com/vim/vim/pull/1042.diff

I am writer of Test_tabpage_with_tab_modifier().
Ah, You are right.
Thanks for the follow up.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)

-- 
-- 
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