aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/channels_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-01 22:56:41 -0700
committerGitHub <noreply@github.com>2019-09-01 22:56:41 -0700
commit099445cc07b0154edc6ecd562a28e86c87c0096b (patch)
treebb539bd3877fc0545b1c7db13039b357477e5758 /test/functional/core/channels_spec.lua
parent7bb029eeef65f57d94cef4e4b709e6c3ebefcf08 (diff)
parentead39d6ce6d1c5e5b6130c6823d071889c207bde (diff)
downloadrneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.gz
rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.bz2
rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.zip
Merge #10804 'CI/OpenBSD: functional tests'
Diffstat (limited to 'test/functional/core/channels_spec.lua')
-rw-r--r--test/functional/core/channels_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/core/channels_spec.lua b/test/functional/core/channels_spec.lua
index ddaed1c448..852d9808f5 100644
--- a/test/functional/core/channels_spec.lua
+++ b/test/functional/core/channels_spec.lua
@@ -139,8 +139,8 @@ describe('channels', function()
command("call chansend(id, 'incomplet\004')")
- local is_freebsd = (string.lower(uname()) == 'freebsd')
- local bsdlike = is_freebsd or (os_name() == "osx")
+ local is_bsd = not not string.find(uname(), 'bsd')
+ local bsdlike = is_bsd or (os_name() == "osx")
local extra = bsdlike and "^D\008\008" or ""
expect_twoline(id, "stdout",
"incomplet"..extra, "[1, ['incomplet'], 'stdin']", true)