[ARVADOS] updated: 2.1.0-616-g767505328
Git user
git at public.arvados.org
Wed Mar 31 19:34:31 UTC 2021
Summary of changes:
lib/deduplicationreport/report_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 7675053281baea19b1e85b7657d044ca00c3d314 (commit)
from 6d5f086b5db6f28b12dcb2279770bc8e77dce546 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 7675053281baea19b1e85b7657d044ca00c3d314
Author: Ward Vandewege <ward at curii.com>
Date: Wed Mar 31 15:34:14 2021 -0400
Fix deduplication report test.
refs #17503
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/lib/deduplicationreport/report_test.go b/lib/deduplicationreport/report_test.go
index a4ed46606..e172008c7 100644
--- a/lib/deduplicationreport/report_test.go
+++ b/lib/deduplicationreport/report_test.go
@@ -28,8 +28,8 @@ func (s *Suite) TearDownSuite(c *check.C) {
func (*Suite) TestUsage(c *check.C) {
var stdout, stderr bytes.Buffer
- exitcode := Command.RunCommand("deduplicationreport.test", []string{"-log-level=debug"}, &bytes.Buffer{}, &stdout, &stderr)
- c.Check(exitcode, check.Equals, 2)
+ exitcode := Command.RunCommand("deduplicationreport.test", []string{"-h", "-log-level=debug"}, &bytes.Buffer{}, &stdout, &stderr)
+ c.Check(exitcode, check.Equals, 0)
c.Check(stdout.String(), check.Equals, "")
c.Log(stderr.String())
c.Check(stderr.String(), check.Matches, `(?ms).*Usage:.*`)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list