diff --git a/cmd/osbuild-auth-tests/main_test.go b/cmd/osbuild-auth-tests/main_test.go index 1e975b953..8ce29c0df 100644 --- a/cmd/osbuild-auth-tests/main_test.go +++ b/cmd/osbuild-auth-tests/main_test.go @@ -97,6 +97,8 @@ func newCertificateKeyPair(CA, CAkey, subj string) (*certificateKeyPair, error) "-CAkey", CAkey, "-out", ckp.certificate(), ) + cmd.Stdout = os.Stdout + cmd.Stderr = os.Stderr err = cmd.Run() if err != nil { return nil, fmt.Errorf("cannot sign the certificate: %v", err)