mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
CI/OpenBSD: run functional tests
Adapt some tests for OpenBSD: - scrollback_spec: - seq(1) is not available on OpenBSD: we'd use jot(1). - Instead use a (hopefully) portable awk(1) snippet. - channels_spec - job_spec - tui_spec
This commit is contained in:
committed by
Justin M. Keyes
parent
d1bed81ad8
commit
b64af88c84
@@ -1203,7 +1203,9 @@ describe("TUI 'term' option", function()
|
||||
end)
|
||||
|
||||
it('gets system-provided term if $TERM is valid', function()
|
||||
if is_bsd then -- BSD lacks terminfo, builtin is always used.
|
||||
if string.lower(uname()) == "openbsd" then
|
||||
assert_term("xterm", "xterm")
|
||||
elseif is_bsd then -- BSD lacks terminfo, builtin is always used.
|
||||
assert_term("xterm", "builtin_xterm")
|
||||
elseif is_macos then
|
||||
local status, _ = pcall(assert_term, "xterm", "xterm")
|
||||
|
||||
Reference in New Issue
Block a user