44 "bytes"
55 "fmt"
66 "io/ioutil"
7- "log"
87 "net/http"
98 "net/http/httptest"
109 "os"
@@ -15,7 +14,6 @@ import (
1514 "github.com/containers/image/signature"
1615 "github.com/go-check/check"
1716 "github.com/opencontainers/go-digest"
18- "github.com/opencontainers/image-tools/image"
1917)
2018
2119func init () {
@@ -225,13 +223,13 @@ func (s *CopySuite) TestCopyOCIRoundTrip(c *check.C) {
225223 c .Assert (out , check .Equals , "" )
226224
227225 // For some silly reason we pass a logger to the OCI library here...
228- logger := log .New (os .Stderr , "" , 0 )
226+ // logger := log.New(os.Stderr, "", 0)
229227
230228 // TODO: Verify using the upstream OCI image validator.
231- err = image .ValidateLayout (oci1 , nil , logger )
232- c .Assert (err , check .IsNil )
233- err = image .ValidateLayout (oci2 , nil , logger )
234- c .Assert (err , check .IsNil )
229+ // err = image.ValidateLayout(oci1, nil, logger)
230+ // c.Assert(err, check.IsNil)
231+ // err = image.ValidateLayout(oci2, nil, logger)
232+ // c.Assert(err, check.IsNil)
235233
236234 // Now verify that everything is identical. Currently this is true, but
237235 // because we recompute the manifests on-the-fly this doesn't necessarily
0 commit comments