mirror of
https://github.com/neovim/neovim.git
synced 2025-12-17 20:05:38 +00:00
build/msvc: Fix check for cksum on Windows
This commit is contained in:
@@ -18,7 +18,8 @@ describe('mf_hash_grow()', function()
|
|||||||
setup(clear)
|
setup(clear)
|
||||||
|
|
||||||
-- Check to see if cksum exists, otherwise skip the test
|
-- Check to see if cksum exists, otherwise skip the test
|
||||||
if os.execute('which cksum 2>&1 > /dev/null') ~= 0 then
|
local null = helpers.iswin() and 'nul' or '/dev/null'
|
||||||
|
if os.execute('cksum --help >' .. null .. ' 2>&1') ~= 0 then
|
||||||
pending('was not tested because cksum was not found', function() end)
|
pending('was not tested because cksum was not found', function() end)
|
||||||
else
|
else
|
||||||
it('is working', function()
|
it('is working', function()
|
||||||
|
|||||||
Reference in New Issue
Block a user