diff --git a/test/e2e/settings/ocsp/ocsp.go b/test/e2e/settings/ocsp/ocsp.go index 6e7879a56..38055659d 100644 --- a/test/e2e/settings/ocsp/ocsp.go +++ b/test/e2e/settings/ocsp/ocsp.go @@ -216,9 +216,9 @@ func prepareCertificates(namespace string) error { for _, command := range commands { ginkgo.By(fmt.Sprintf("running %v", command)) - out, err := exec.Command("bash", "-c", command).Output() + out, err := exec.Command("bash", "-c", command).CombinedOutput() if err != nil { - framework.Logf("Command error: %v\n%v\n%v", command, err, out) + framework.Logf("Command error: %v\n%v\n%v", command, err, string(out)) return err } } @@ -238,9 +238,9 @@ func prepareCertificates(namespace string) error { command = "cfssl gencert -remote=localhost -profile=server leaf_csr.json | cfssljson -bare leaf" ginkgo.By(fmt.Sprintf("running %v", command)) - out, err := exec.Command("bash", "-c", command).Output() + out, err := exec.Command("bash", "-c", command).CombinedOutput() if err != nil { - framework.Logf("Command error: %v\n%v\n%v", command, err, out) + framework.Logf("Command error: %v\n%v\n%v", command, err, string(out)) return err } @@ -252,9 +252,9 @@ func prepareCertificates(namespace string) error { command = "cfssl ocsprefresh -ca intermediate_ca.pem -responder=ocsp.pem -responder-key=ocsp-key.pem -db-config=db-config.json" ginkgo.By(fmt.Sprintf("running %v", command)) - out, err = exec.Command("bash", "-c", command).Output() + out, err = exec.Command("bash", "-c", command).CombinedOutput() if err != nil { - framework.Logf("Command error: %v\n%v\n%v", command, err, out) + framework.Logf("Command error: %v\n%v\n%v", command, err, string(out)) return err } diff --git a/test/e2e/settings/ocsp/template.db b/test/e2e/settings/ocsp/template.db index 0fd477ff1..f03ce55a4 100644 Binary files a/test/e2e/settings/ocsp/template.db and b/test/e2e/settings/ocsp/template.db differ