mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3256: executable test may fail on new Ubuntu system
Problem: Executable test may fail on new Ubuntu system. Solution: Consider /usr/bin/cat and /bin/cat the same.
This commit is contained in:
parent
b9115da4be
commit
bf634a0a8b
@ -1325,6 +1325,9 @@ func Test_Executable()
|
||||
if catcmd =~ '\<sbin\>' && result =~ '\<bin\>'
|
||||
call assert_equal('/' .. substitute(catcmd, '\<sbin\>', 'bin', ''), result)
|
||||
else
|
||||
" /bin/cat and /usr/bin/cat may be hard linked, we could get either
|
||||
let result = substitute(result, '/usr/bin/cat', '/bin/cat', '')
|
||||
let catcmd = substitute(catcmd, 'usr/bin/cat', 'bin/cat', '')
|
||||
call assert_equal('/' .. catcmd, result)
|
||||
endif
|
||||
bwipe
|
||||
|
@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3256,
|
||||
/**/
|
||||
3255,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user