From 55144fd12baf377ba767cc9a1e957d506b4f87c8 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Wed, 10 May 2017 10:48:09 +0200 Subject: [PATCH] integration: disable check with image-tools for image-spec RC5 We need https://github.com/opencontainers/image-tools/pull/144 first Signed-off-by: Antonio Murdaca --- integration/copy_test.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/integration/copy_test.go b/integration/copy_test.go index d4bd3b5d90..0dd332d887 100644 --- a/integration/copy_test.go +++ b/integration/copy_test.go @@ -4,7 +4,6 @@ import ( "bytes" "fmt" "io/ioutil" - "log" "net/http" "net/http/httptest" "os" @@ -15,7 +14,6 @@ import ( "github.com/containers/image/signature" "github.com/go-check/check" "github.com/opencontainers/go-digest" - "github.com/opencontainers/image-tools/image" ) func init() { @@ -225,13 +223,13 @@ func (s *CopySuite) TestCopyOCIRoundTrip(c *check.C) { c.Assert(out, check.Equals, "") // For some silly reason we pass a logger to the OCI library here... - logger := log.New(os.Stderr, "", 0) + //logger := log.New(os.Stderr, "", 0) // TODO: Verify using the upstream OCI image validator. - err = image.ValidateLayout(oci1, nil, logger) - c.Assert(err, check.IsNil) - err = image.ValidateLayout(oci2, nil, logger) - c.Assert(err, check.IsNil) + //err = image.ValidateLayout(oci1, nil, logger) + //c.Assert(err, check.IsNil) + //err = image.ValidateLayout(oci2, nil, logger) + //c.Assert(err, check.IsNil) // Now verify that everything is identical. Currently this is true, but // because we recompute the manifests on-the-fly this doesn't necessarily