Fixup tests, add testing pipelines and small refactors

Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
This commit is contained in:
Ettore Di Giacinto
2022-02-17 10:10:04 +01:00
parent 1ab3e10e4d
commit e5997ada4c
12 changed files with 200 additions and 60 deletions

View File

@@ -2,6 +2,7 @@ package backend
import "net"
// Socket returns a fake TPM interface from a unix socket
func Socket(f string) (*FakeTPM, error) {
conn, err := net.Dial("unix", f)
if err != nil {