Debarshi Ray
|
f716b23914
|
test/system: Unbreak the line count checks with Bats >= 1.10.0
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
https://github.com/bats-core/bats-core/commit/6648e2143bffb933
https://github.com/bats-core/bats-core/issues/708
https://github.com/containers/toolbox/pull/1352
|
2023-08-18 06:21:40 +02:00 |
|