mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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
@@ -406,7 +406,7 @@ describe("'scrollback' option", function()
|
||||
if iswin() then
|
||||
feed_data('for /L %I in (1,1,30) do @(echo line%I)\r')
|
||||
else
|
||||
feed_data('for i in $(seq 1 30); do echo "line$i"; done\n')
|
||||
feed_data('awk "BEGIN{for(n=1;n<=30;n++) print \\\"line\\\" n}"\n')
|
||||
end
|
||||
screen:expect{any='line30 '}
|
||||
retry(nil, nil, function() expect_lines(7) end)
|
||||
@@ -431,7 +431,7 @@ describe("'scrollback' option", function()
|
||||
if iswin() then
|
||||
feed_data('for /L %I in (1,1,30) do @(echo line%I)\r')
|
||||
else
|
||||
feed_data('for i in $(seq 1 30); do echo "line$i"; done\n')
|
||||
feed_data('awk "BEGIN{for(n=1;n<=30;n++) print \\\"line\\\" n}"\n')
|
||||
end
|
||||
|
||||
screen:expect{any='line30 '}
|
||||
@@ -448,7 +448,7 @@ describe("'scrollback' option", function()
|
||||
if iswin() then
|
||||
feed_data('for /L %I in (1,1,40) do @(echo line%I)\r')
|
||||
else
|
||||
feed_data('for i in $(seq 1 40); do echo "line$i"; done\n')
|
||||
feed_data('awk "BEGIN{for(n=1;n<=40;n++) print \\\"line\\\" n}"\n')
|
||||
end
|
||||
|
||||
screen:expect{any='line40 '}
|
||||
|
||||
Reference in New Issue
Block a user