# HG changeset patch # User Christian Brabandt # Date 1473191107 -7200 # Node ID 13304dccb96ea2d2361ef53d622f1a4bed383e06 # Parent e0f8fb06a5c82181108953a276b89a1b8b9d1794 commit https://github.com/vim/vim/commit/100f5c90f4d4fb40bc3aeabc35192db371f5988f Author: Bram Moolenaar Date: Tue Sep 6 21:33:52 2016 +0200 patch 7.4.2339 Problem: Tab page test fails when run as fake root. Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes https://github.com/vim/vim/issues/1042) diff --git a/src/testdir/test_tabpage.vim b/src/testdir/test_tabpage.vim --- a/src/testdir/test_tabpage.vim +++ b/src/testdir/test_tabpage.vim @@ -195,7 +195,7 @@ function Test_tabpage_with_tab_modifier( exec 'tabnext ' . a:pre_nr exec a:cmd call assert_equal(a:post_nr, tabpagenr()) - call assert_equal('help', &filetype) + call assert_equal('help', &buftype) helpclose endfunc diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2339, +/**/ 2338, /**/ 2337,