projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8da8b
)
17208: Update test for s3cmd's new console output.
author
Tom Clegg <tom@curii.com>
Mon, 14 Dec 2020 20:41:33 +0000
(15:41 -0500)
committer
Tom Clegg <tom@curii.com>
Mon, 14 Dec 2020 20:41:33 +0000
(15:41 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/controller/integration_test.go
patch
|
blob
|
history
diff --git
a/lib/controller/integration_test.go
b/lib/controller/integration_test.go
index 3418c1f81a1f9d7dfc4881fe300fd94fdaefc984..0388f21bee916ff4a0046971edfa9908553d00b1 100644
(file)
--- 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+`)
.*`)
}
}