From 3cb2a5f930c8dd02ebeddb9a9b1fdd783e952480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Tue, 17 Mar 2020 11:16:01 +0100 Subject: [PATCH] tests/image: remove the hack for fedora-30 Previously we had only tests for Fedora 30, therefore I added a hack to treat every Fedora as Fedora 30, so the tests would run. Now, we have tests for multiple Fedora versions, therefore the hack is no longer needed. --- cmd/osbuild-image-tests/main_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/osbuild-image-tests/main_test.go b/cmd/osbuild-image-tests/main_test.go index e010ddc19..83f722f21 100644 --- a/cmd/osbuild-image-tests/main_test.go +++ b/cmd/osbuild-image-tests/main_test.go @@ -319,11 +319,6 @@ func runTests(t *testing.T, cases []string, d string) { hostDistroName, err := distro.GetHostDistroName() require.Nil(t, err) - // TODO: forge distro name for now - if strings.HasPrefix(hostDistroName, "fedora") { - hostDistroName = "fedora-30" - } - if testcase.ComposeRequest.Distro != hostDistroName { t.Skipf("the required distro is %s, the host distro is %s", testcase.ComposeRequest.Distro, hostDistroName) }