test/system: Unbreak the line count checks with Bats >= 1.10.0#1387
Conversation
Until Bats 1.10.0, 'run --keep-empty-lines' had a bug where it counted
the trailing newline on the last line as a separate line [1]. However,
Bats 1.10.0 is only available in Fedora >= 39 and is absent from Fedoras
37 and 38.
[1] Bats commit 6648e2143bffb933
bats-core/bats-core@6648e2143bffb933
bats-core/bats-core#708
containers#1387
6fb06c7 to
7abfa70
Compare
|
Build failed. ✔️ unit-test SUCCESS in 9m 13s |
With the recent expansion of the test suite, it's necessary to increase the timeout for all Fedora nodes to prevent the CI from timing out. containers#1387
|
Build failed. ✔️ unit-test SUCCESS in 8m 40s |
|
This pull requests fixes some of the test failures on Fedora Rawhide and Fedora 39. Before this, there were some failures caused by the The only failures left are these two: These test failures are caused by a bug in |
Until Bats 1.10.0, 'run --keep-empty-lines' had a bug where it counted
the trailing newline on the last line as a separate line [1]. However,
Bats 1.10.0 is only available in Fedora >= 39 and is absent from Fedoras
37 and 38.
[1] Bats commit 6648e2143bffb933
bats-core/bats-core@6648e2143bffb933
bats-core/bats-core#708
containers#1352
containers#1387
containers#1744
(backported from commits f716b23 and
7abfa70)
With the recent expansion of the test suite, it's necessary to increase the timeout for all Fedora nodes to prevent the CI from timing out. containers#1387 containers#1744 (cherry picked from commit b8138e0)
Until Bats 1.10.0, 'run --keep-empty-lines' had a bug where it counted the trailing newline on the last line as a separate line [1]. However, Bats 1.10.0 is only available in Fedora >= 39 and is absent from Fedoras 37 and 38.
[1] Bats commit 6648e2143bffb933
bats-core/bats-core@6648e2143bffb933
bats-core/bats-core#708