Documentation
¶
Overview ¶
Package testutil wraps select test utilities to make them externally usable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTPM ¶
func GetTPM(tb testing.TB) io.ReadWriteCloser
GetTPM is a cross-platform testing helper function that retrives the appropriate TPM device from the flags passed into "go test".
If using a test TPM, this will also retrieve a test eventlog. In this case, GetTPM extends the test event log's events into the test TPM.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.