diff options
author | Jakob Unterwurzacher | 2023-09-15 23:11:58 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-09-15 23:11:58 +0200 |
commit | 44e3635cf6e914025b2e1e032312ef5b8aafe258 (patch) | |
tree | 6a35d9b9d2b7fa6cf3f97ba28b9785e3eca00838 /internal/syscallcompat/main_test.go | |
parent | 7fff33a1e2560c8f4eb1f477c1e220eeb14291ab (diff) |
gocryptfs -speed: call testing.Init() to fix panictesting_init
Looks like I should have been calling testing.Init()
all along. From https://pkg.go.dev/testing#Init :
> Init is only needed when calling functions such as
> Benchmark without using "go test".
Fixes: https://github.com/rfjakob/gocryptfs/issues/789
Relates-to: https://github.com/golang/go/issues/62666
Diffstat (limited to 'internal/syscallcompat/main_test.go')
0 files changed, 0 insertions, 0 deletions