From e3d23aa5adb2e292be340e887708e99742a21818 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 10 Apr 2025 10:39:56 +0200 Subject: [PATCH] test: fix missing conversion of a test blueprint to toml This commit fixes the issue that a test blueprint was not converted from json to TOML. This was not caught in CI apparently because our test container misses createrepo_c. --- cmd/image-builder/main_test.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/image-builder/main_test.go b/cmd/image-builder/main_test.go index 85f7062..bd01893 100644 --- a/cmd/image-builder/main_test.go +++ b/cmd/image-builder/main_test.go @@ -751,11 +751,10 @@ func TestManifestExtraRepo(t *testing.T) { err = exec.Command("createrepo_c", localRepoDir).Run() assert.NoError(t, err) - pkgHelloBlueprint := `{ - "packages": [ - {"name":"dummy"} - ] - }` + pkgHelloBlueprint := ` + [[packages]] + name = "dummy" +` restore := main.MockOsArgs([]string{ "manifest", "qcow2",