revendor notary and wrap friendlier error messages

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
Upstream-commit: dd7436c832a5dd777d0276c3e3b1819062b86ebc
Component: engine
This commit is contained in:
Riyaz Faizullabhoy
2016-01-14 12:21:55 -08:00
parent 59828f1612
commit 9952183b81
22 changed files with 246 additions and 83 deletions

View File

@ -3303,7 +3303,7 @@ func (s *DockerTrustSuite) TestTrustedRunFromBadTrustServer(c *check.C) {
c.Fatalf("Expected to fail on this run due to different remote data: %s\n%s", err, out)
}
if !strings.Contains(string(out), "failed to validate data with current trusted certificates") {
if !strings.Contains(string(out), "valid signatures did not meet threshold") {
c.Fatalf("Missing expected output on trusted push:\n%s", out)
}
}