mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Get rid of a bashism in the fs_spec test.
FreeBSD doesn't use bash by default, causing the group id to be print out in the middle of the test.
This commit is contained in:
parent
7ab0fcdd94
commit
c5d54c50dc
@ -262,7 +262,7 @@ describe('fs function', function()
|
||||
|
||||
it('owner of a file may change the group of the file to any group of which that owner is a member', function()
|
||||
-- Some systems may not have `id` utility.
|
||||
if (os.execute('id -G &> /dev/null') == 0) then
|
||||
if (os.execute('id -G > /dev/null 2>&1') == 0) then
|
||||
local file_gid = lfs.attributes(filename, 'gid')
|
||||
|
||||
-- Gets ID of any group of which current user is a member except the
|
||||
|
Loading…
Reference in New Issue
Block a user