From: Reinhard Tartler <siretart@tauware.de>
Date: Sat, 14 Dec 2024 08:24:51 -0500
Subject: Adjust Error signature when running offline on Debian
Forwarded: not-needed

---
 test/e2e/suite/command/sign.go   | 2 +-
 test/e2e/suite/command/verify.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/e2e/suite/command/sign.go b/test/e2e/suite/command/sign.go
index 334e27e..d9620a5 100644
--- a/test/e2e/suite/command/sign.go
+++ b/test/e2e/suite/command/sign.go
@@ -298,7 +298,7 @@ var _ = Describe("notation sign", func() {
 		Host(BaseOptions(), func(notation *utils.ExecOpts, artifact *Artifact, vhost *utils.VirtualHost) {
 			notation.ExpectFailure().Exec("sign", "--timestamp-url", "http://invalid.com", "--timestamp-root-cert", filepath.Join(NotationE2EConfigPath, "timestamp", "globalsignTSARoot.cer"), artifact.ReferenceWithDigest()).
 				MatchErrKeyWords("Error: timestamp: Post \"http://invalid.com\"").
-				MatchErrKeyWords("server misbehaving")
+				MatchErrKeyWords("no such host")
 		})
 	})

diff --git a/test/e2e/suite/command/verify.go b/test/e2e/suite/command/verify.go
index 9ab8d29..3e74b5a 100644
--- a/test/e2e/suite/command/verify.go
+++ b/test/e2e/suite/command/verify.go
@@ -248,7 +248,7 @@ var _ = Describe("notation verify", func() {

 	It("with verifyTimestamp set as afterCertExpiry", func() {
 		Host(TimestampOptions("afterCertExpiry"), func(notation *utils.ExecOpts, artifact *Artifact, vhost *utils.VirtualHost) {
-			notation.Exec("sign", "--timestamp-url", "http://timestamp.digicert.com", "--timestamp-root-cert", filepath.Join(NotationE2EConfigPath, "timestamp", "DigiCertTSARootSHA384.cer"), artifact.ReferenceWithDigest()).
+			notation.Exec("sign", "-v", "--timestamp-url", "http://timestamp.digicert.com", "--timestamp-root-cert", filepath.Join(NotationE2EConfigPath, "timestamp", "DigiCertTSARootSHA384.cer"), artifact.ReferenceWithDigest()).
 				MatchKeyWords(SignSuccessfully)

 			notation.Exec("verify", artifact.ReferenceWithDigest(), "-d").
