Skip to content

Commit

Permalink
integration: disable check with image-tools for image-spec RC5
Browse files Browse the repository at this point in the history
We need opencontainers/image-tools#144 first

Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed May 10, 2017
1 parent dd13a0d commit f4a44f0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions integration/copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/httptest"
"os"
Expand All @@ -14,7 +13,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() {
Expand Down Expand Up @@ -213,13 +211,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
Expand Down

0 comments on commit f4a44f0

Please sign in to comment.