X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2820d5bd17fcaa7b9d2f6e14bf0f1820b7ea8107..cbf5da01288da63a4f83282384fa7cdebbb2c5e0:/services/keepstore/command_test.go diff --git a/services/keepstore/command_test.go b/services/keepstore/command_test.go index bbfae52f69..942c01a779 100644 --- a/services/keepstore/command_test.go +++ b/services/keepstore/command_test.go @@ -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.*`) }