fix(tui): log chdir failure properly #37591

This commit is contained in:
zeertzjq
2026-01-28 18:44:17 +08:00
committed by GitHub
parent 027b7d6bbb
commit 1f0dbfea2f
10 changed files with 72 additions and 44 deletions

View File

@@ -749,7 +749,7 @@ describe('jobs', function()
it('lists passed to callbacks are freed if not stored #25891', function()
if not exec_lua('return pcall(require, "ffi")') then
pending('missing LuaJIT FFI')
pending('N/A: missing LuaJIT FFI')
end
source([[

View File

@@ -220,12 +220,10 @@ describe('server', function()
end)
it('removes stale socket files automatically #26053', function()
if is_os('win') then
-- Windows named pipes are ephemeral kernel objects that are automatically
-- cleaned up when the process terminates. Unix domain sockets persist as
-- files on the filesystem and can become stale after crashes.
return
end
-- Windows named pipes are ephemeral kernel objects that are automatically
-- cleaned up when the process terminates. Unix domain sockets persist as
-- files on the filesystem and can become stale after crashes.
t.skip(is_os('win'), 'N/A on Windows')
clear()
clear_serverlist()
@@ -246,9 +244,7 @@ describe('server', function()
end)
it('does not remove live sockets #26053', function()
if is_os('win') then
return
end
t.skip(is_os('win'), 'N/A on Windows')
clear()
local socket_path = './Xtest-live-socket'