diff options
author | James McCoy <jamessan@jamessan.com> | 2024-01-06 09:23:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-06 09:23:47 -0500 |
commit | 9ee8ce2eb8fdc591416a008a85317ab0bb906c58 (patch) | |
tree | e8cbf87f44eb7f3bc9f3b0776532865a7cd3ba45 | |
parent | 099bd35a7d0a52bcf3c58d1b841d008c8af0a8de (diff) | |
parent | 8861ad83fd7fe795ef3c77f0886694ffd7cd8184 (diff) | |
download | rneovim-9ee8ce2eb8fdc591416a008a85317ab0bb906c58.tar.gz rneovim-9ee8ce2eb8fdc591416a008a85317ab0bb906c58.tar.bz2 rneovim-9ee8ce2eb8fdc591416a008a85317ab0bb906c58.zip |
Merge pull request #26913 from jamessan/execl-fix
fix(test/tui_spec): pass the expected NULL-sentinel to execl()
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 831075fc08..f6ee0f9c77 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -24,7 +24,6 @@ local funcs = helpers.funcs local meths = helpers.meths local is_ci = helpers.is_ci local is_os = helpers.is_os -local is_arch = helpers.is_arch local new_pipename = helpers.new_pipename local spawn_argv = helpers.spawn_argv local set_session = helpers.set_session @@ -1932,9 +1931,6 @@ describe('TUI', function() end) it('argv[0] can be overridden #23953', function() - if is_arch('aarch64') then - pending('execl does not work on aarch64') - end if not exec_lua('return pcall(require, "ffi")') then pending('missing LuaJIT FFI') end @@ -1944,7 +1940,7 @@ describe('TUI', function() [=[ local ffi = require('ffi') ffi.cdef([[int execl(const char *, const char *, ...);]]) - ffi.C.execl(vim.v.progpath, 'Xargv0nvim', '--clean') + ffi.C.execl(vim.v.progpath, 'Xargv0nvim', '--clean', nil) ]=] ) finally(function() |