Revert "tests: executable_spec: enable pending test #10443" (#10454)

This reverts commit b53c483a4a.
This commit is contained in:
Daniel Hahler
2019-07-09 11:46:23 +02:00
committed by GitHub
parent 42bdccdf6c
commit 13fbeda0e5

View File

@@ -24,7 +24,12 @@ describe('executable()', function()
eq('arg1=lemon;arg2=sky;arg3=tree;',
call('system', sibling_exe..' lemon sky tree'))
end
eq(expected, call('executable', sibling_exe))
local is_executable = call('executable', sibling_exe)
if iswin() and is_executable ~= expected then
pending('XXX: sometimes fails on AppVeyor')
else
eq(expected, is_executable)
end
end)
describe('exec-bit', function()