test/uname(): always lowercase

This commit is contained in:
Justin M. Keyes
2019-09-01 21:21:26 -07:00
parent 7d20907724
commit ead39d6ce6
7 changed files with 26 additions and 24 deletions

View File

@@ -139,7 +139,7 @@ describe('channels', function()
command("call chansend(id, 'incomplet\004')")
local is_bsd = not not string.find(string.lower(uname()), 'bsd')
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",