diff --git a/test/e2e/suite/command/inspect.go b/test/e2e/suite/command/inspect.go index a6f6c1880..8d04aa9e4 100644 --- a/test/e2e/suite/command/inspect.go +++ b/test/e2e/suite/command/inspect.go @@ -34,7 +34,7 @@ var ( "├── user defined attributes", "│ └── (empty)", "├── unsigned attributes", - "│ └── signingAgent: Notation/", + "│ └── signingAgent: notation-go/", "├── certificates", "│ └── SHA256 fingerprint:", "issued to:", @@ -57,7 +57,7 @@ var ( "├── user defined attributes", "│ └── (empty)", "├── unsigned attributes", - "signingAgent: Notation/", + "signingAgent: notation-go/", "timestamp signature", "timestamp:", "certificates", diff --git a/test/e2e/suite/command/verify.go b/test/e2e/suite/command/verify.go index cf9956b82..239b363b2 100644 --- a/test/e2e/suite/command/verify.go +++ b/test/e2e/suite/command/verify.go @@ -213,12 +213,12 @@ var _ = Describe("notation verify", func() { }) }) - It("user defined NOTATION_CACHE path", func() { + It("NOTATION_CACHE", func() { Host(BaseOptions(), func(notation *utils.ExecOpts, artifact *Artifact, vhost *utils.VirtualHost) { notation.Exec("sign", artifact.ReferenceWithDigest()). MatchKeyWords(SignSuccessfully) - vhost.UpdateEnv(map[string]string{"NOTATION_CACHE": "/myFileCache"}) + vhost.UpdateEnv(map[string]string{"NOTATION_CACHE": vhost.AbsolutePath(NotationDirName)}) notation.Exec("verify", artifact.ReferenceWithDigest(), "-v"). MatchKeyWords(VerifySuccessfully) })