diff options
author | Edd Barrett <vext01@gmail.com> | 2019-08-18 13:39:31 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-01 22:49:33 -0700 |
commit | b64af88c848204f2193cf0f18b94d12731e5bd2f (patch) | |
tree | 19322612c359903badbe6f3342977b5ec336c4a5 /test/functional/terminal/tui_spec.lua | |
parent | d1bed81ad8a1dde99953e1f880e5794680d53d62 (diff) | |
download | rneovim-b64af88c848204f2193cf0f18b94d12731e5bd2f.tar.gz rneovim-b64af88c848204f2193cf0f18b94d12731e5bd2f.tar.bz2 rneovim-b64af88c848204f2193cf0f18b94d12731e5bd2f.zip |
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
Diffstat (limited to 'test/functional/terminal/tui_spec.lua')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 312e060a70..01e13ce4d4 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -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") |