Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 07ad8ea

Browse files
committed
Revert "update directory"
This reverts commit 7c9e109.
1 parent 7c9e109 commit 07ad8ea

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed
File renamed without changes.

tpm_test.go renamed to tpm/tpm_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ func TestTPMPublicCertFile(t *testing.T) {
10431043
_, _ = flushContextCmd.Execute(rwr)
10441044
}()
10451045

1046-
pubPEMData, err := os.ReadFile("example/certs/server.crt")
1046+
pubPEMData, err := os.ReadFile("../example/certs/server.crt")
10471047
require.NoError(t, err)
10481048

10491049
block, _ := pem.Decode(pubPEMData)
@@ -1055,7 +1055,7 @@ func TestTPMPublicCertFile(t *testing.T) {
10551055
conf := TPM{
10561056
TpmDevice: tpmDevice,
10571057
Handle: rsaKeyResponse.ObjectHandle,
1058-
PublicCertFile: "example/certs/server.crt",
1058+
PublicCertFile: "../example/certs/server.crt",
10591059
}
10601060

10611061
tpm, err := NewTPMCrypto(&conf)
@@ -1102,7 +1102,7 @@ func TestTPMX509(t *testing.T) {
11021102
_, _ = flushContextCmd.Execute(rwr)
11031103
}()
11041104

1105-
pubPEMData, err := os.ReadFile("example/certs/server.crt")
1105+
pubPEMData, err := os.ReadFile("../example/certs/server.crt")
11061106
require.NoError(t, err)
11071107

11081108
block, _ := pem.Decode(pubPEMData)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)