From 7f991eef84585b416684a3eab61b5b9231454f37 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Thu, 29 Oct 2020 18:16:48 -0300 Subject: [PATCH] Update sqlite cfssl database --- test/e2e/settings/ocsp/ocsp.go | 12 ++++++------ test/e2e/settings/ocsp/template.db | Bin 28672 -> 28672 bytes 2 files changed, 6 insertions(+), 6 deletions(-) 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 0fd477ff1264f8bd703f14280de3a3a023d0d732..f03ce55a440723beb774cc1d2a56680226c5f547 100644 GIT binary patch delta 296 zcmZp8z}WDBae}lUGXnzyI}pPF$3z`tNoEE;jVxZCDGY2J%NY1>@U?L)<8$TO!4tl* zQICVGg`b&STve5^J#q6qo;=0`1*Od5;?mTV_{0(=g_6wN)Z&uF+yWg1rM&!-_@vad z{GwD;@!Zss#FWI6M4)JDMF~)0abjLEoRgfNo132(pO=^m(gsv8nVZjQ^A4^%j4XV0 zj2k!4;K^a;V&>n-!2gW@4FAT>f&z>A{Uw=M85lW@nT!mK40H_*bd4+(j0~*|jjRmK dC74(lI5~~6$uP1qaA1|$r0}1gk$I7U0|0-?OcMYA delta 162 zcmZp8z}WDBae}lU69WSSI}pPF^F$qENhSt8jVxZiItDhb9SnRo_}X};@VRpB;0fO> zDB!@gc?Z`WMy_T(W_EE^RmL{?%^NuK7&r6q{b1x^;y=T{|BV04W