Skip to content

Commit 7962f06

Browse files
Clide Stefanipull[bot]
Clide Stefani
authored andcommitted
crypto/tls: improve error log produced during TestBogoSuite
The existing implementation logs some errors to the results file created in TestBogoSuite. This change would additionally log json errors to the results file. Change-Id: Ib1a6f612ed83f6c5046531ee259c4e85dd71402a Reviewed-on: https://go-review.googlesource.com/c/go/+/591379 Reviewed-by: Filippo Valsorda <[email protected]> Auto-Submit: Filippo Valsorda <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent f7022ad commit 7962f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/tls/bogo_shim_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func TestBogoSuite(t *testing.T) {
368368
if err != nil {
369369
t.Fatalf("bogo failed: %s\n%s", err, out)
370370
}
371-
t.Fatalf("failed to read results JSON file: %s", err)
371+
t.Fatalf("failed to read results JSON file: %s", jsonErr)
372372
}
373373

374374
var results bogoResults

0 commit comments

Comments
 (0)