Fix paths in TestDistro_Manifest

It turned out the paths contained more ../s than appropriate.

Refs: #442
This commit is contained in:
Jiri Kortus 2020-05-06 18:06:57 +02:00 committed by Alexander Todorov
parent 2e34a94980
commit 3cea1f27cf
4 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ import (
func TestDistro_Manifest(t *testing.T) {
distro_test_common.TestDistro_Manifest(
t,
"../../../test/cases/",
"../../test/cases/",
"*",
fedora30.New(), fedora31.New(), fedora32.New(), rhel81.New(), rhel82.New(), rhel83.New(),
)

View file

@ -318,7 +318,7 @@ func TestImageType_BasePackages(t *testing.T) {
}
func TestDistro_Manifest(t *testing.T) {
distro_test_common.TestDistro_Manifest(t, "../../../../test/cases/", "f30*", fedora30.New())
distro_test_common.TestDistro_Manifest(t, "../../../test/cases/", "fedora_30*", fedora30.New())
}
func TestFedora30_ListArches(t *testing.T) {

View file

@ -274,7 +274,7 @@ func TestImageType_BasePackages(t *testing.T) {
}
func TestDistro_Manifest(t *testing.T) {
distro_test_common.TestDistro_Manifest(t, "../../../../test/cases/", "f31*", fedora31.New())
distro_test_common.TestDistro_Manifest(t, "../../../test/cases/", "fedora_31*", fedora31.New())
}
func TestFedora31_ListArches(t *testing.T) {

View file

@ -318,7 +318,7 @@ func TestImageType_BasePackages(t *testing.T) {
}
func TestDistro_Manifest(t *testing.T) {
distro_test_common.TestDistro_Manifest(t, "../../../../test/cases/", "f30*", fedora32.New())
distro_test_common.TestDistro_Manifest(t, "../../../test/cases/", "fedora_32*", fedora32.New())
}
func TestFedora32_ListArches(t *testing.T) {