8f6e47a191
Until Bats 1.10.0, 'run' with options had a bug where it would overwrite the value of the 'i' variable even outside 'run' [1]. In these particular instances, no options are being passed to 'run', and, hence, currently there's no problem. However, in case a future commit adds an option, then it could lead to hard-to-debug problems. eg., --separate-stderr sets 'i' to 1, --show-output-of-passing-tests sets it to 2, etc.. Therefore, depending on the flag and the loop, the loop might get terminated prematurely or run infinitely or something else. Moreover, Bats 1.10.0 is only available in Fedora >= 39 and is absent from Fedoras 37 and 38. Therefore, it's not possible to consider this bug fixed. Hence, it's better to preemptively work around it to avoid any future issues. [1] Bats commit 502dc47dd063c187 https://github.com/bats-core/bats-core/commit/502dc47dd063c187 https://github.com/bats-core/bats-core/issues/726 https://github.com/containers/toolbox/pull/1373 |
||
---|---|---|
.. | ||
system | ||
meson.build |