Commit 978bb524e4 already added a dependency on Bats >= 1.5.0, which is present in Fedora >= 35. Therefore, it should be exploited wherever possible to simplify things. However, bats_require_minimum_version can't be used, because it's only available from Bats 1.7.0 [1], which is new enough that it's absent from Fedora 35. [1] Bats commit 71d6b71cebc3d32b https://github.com/bats-core/bats-core/issues/556 https://bats-core.readthedocs.io/en/stable/warnings/BW02.html https://github.com/containers/toolbox/pull/1161
978bb524e4