aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb-r-o-c-k <brockmammen@gmail.com>2018-03-26 10:54:44 -0500
committerb-r-o-c-k <brockmammen@gmail.com>2018-03-26 10:54:44 -0500
commitab6051331cebcde712ccc547b550d2a5d42cd587 (patch)
tree0c3d1c700e7a7fc89fb8994ae09023595dd161d2
parentafe6b4881f70df32107089d3c7df232d70eeda2e (diff)
downloadrneovim-ab6051331cebcde712ccc547b550d2a5d42cd587.tar.gz
rneovim-ab6051331cebcde712ccc547b550d2a5d42cd587.tar.bz2
rneovim-ab6051331cebcde712ccc547b550d2a5d42cd587.zip
build/msvc: Fix check for cksum on Windows
-rw-r--r--test/functional/legacy/077_mf_hash_grow_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/legacy/077_mf_hash_grow_spec.lua b/test/functional/legacy/077_mf_hash_grow_spec.lua
index c692127213..4719a3ecbf 100644
--- a/test/functional/legacy/077_mf_hash_grow_spec.lua
+++ b/test/functional/legacy/077_mf_hash_grow_spec.lua
@@ -18,7 +18,8 @@ describe('mf_hash_grow()', function()
setup(clear)
-- 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)
else
it('is working', function()