From 06ebdde986c499a69b6b8faeb9b8f4ee01d19b04 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 14 Dec 2020 15:41:33 -0500 Subject: [PATCH] 17208: Update test for s3cmd's new console output. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/controller/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/integration_test.go b/lib/controller/integration_test.go index 3418c1f81a..0388f21bee 100644 --- a/lib/controller/integration_test.go +++ b/lib/controller/integration_test.go @@ -353,7 +353,7 @@ func (s *IntegrationSuite) TestS3WithFederatedToken(c *check.C) { buf, _ = exec.Command("s3cmd", append(s3args, "get", "s3://"+coll.UUID+"/test.txt", c.MkDir()+"/tmpfile")...).CombinedOutput() // Command fails because we don't return Etag header. flen := strconv.Itoa(len(testText)) - c.Check(string(buf), check.Matches, `(?ms).*`+flen+` of `+flen+`.*`) + c.Check(string(buf), check.Matches, `(?ms).*`+flen+` (bytes in|of `+flen+`).*`) } } -- 2.39.5