spiegel_podman/test/utils
Paul Holzinger d9465ea2bf
test/e2e: rework GetHostDistributionInfo
First check for errors and assert them via gomega to make the test fails
which called this.

Then stop calling this for each test spec, most will never access this
so stop reading the file over and over. Callers should just call the
function directly.

Then remove the arch field from it, that is not related to the OS file.
Callers should just access runtime.GOARCH directly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-30 10:32:33 +02:00
..
common_function_test.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
matchers.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
podmansession_test.go test/e2e: remove LineInOutputStartsWith 2026-06-22 20:08:36 +02:00
podmantest_test.go test/e2e: remove WaitForContainer 2026-06-22 20:08:36 +02:00
utils.go test/e2e: rework GetHostDistributionInfo 2026-06-30 10:32:33 +02:00
utils_suite_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00