diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go index 2060f6b03a8..383e16ab2f3 100644 --- a/cmd/builder/internal/builder/main_test.go +++ b/cmd/builder/internal/builder/main_test.go @@ -388,6 +388,8 @@ func TestGenerateAndCompile(t *testing.T) { testCase: "No Dir Permissions", cfgBuilder: func(t *testing.T) Config { cfg := newTestConfig() + err := cfg.SetBackwardsCompatibility() + require.NoError(t, err) cfg.Distribution.OutputPath = t.TempDir() assert.NoError(t, os.Chmod(cfg.Distribution.OutputPath, 0000)) cfg.Replaces = append(cfg.Replaces, replaces...)