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.
This commit is contained in:
parent
acfb461aa5
commit
3cb2a5f930
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue