X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0bb53c1cbcbcb8b3be50e6ecf3fdf0bb7cbd96b5..17245ae08f1539c5bbef65ecaa8238518f4ede11:/services/keepstore/command_test.go diff --git a/services/keepstore/command_test.go b/services/keepstore/command_test.go index ad2aa09571..942c01a779 100644 --- a/services/keepstore/command_test.go +++ b/services/keepstore/command_test.go @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0 -package main +package keepstore import ( "bytes" @@ -23,7 +23,7 @@ func (*CommandSuite) TestLegacyConfigPath(c *check.C) { defer os.Remove(tmp.Name()) tmp.Write([]byte("Listen: \"1.2.3.4.5:invalidport\"\n")) tmp.Close() - exited := runCommand("keepstore", []string{"-config", tmp.Name()}, &stdin, &stdout, &stderr) + exited := Command.RunCommand("keepstore", []string{"-config", tmp.Name()}, &stdin, &stdout, &stderr) c.Check(exited, check.Equals, 1) c.Check(stderr.String(), check.Matches, `(?ms).*unable to migrate Listen value.*`) }