diff --git a/integration/check_test.go b/integration/check_test.go index 1c46d5f1..45d2cd0f 100644 --- a/integration/check_test.go +++ b/integration/check_test.go @@ -31,7 +31,7 @@ type SkopeoSuite struct { regV1 *testRegistryV1 regV2 *testRegistryV2 regV2Shema1 *testRegistryV2 - regV1WithAuth *testRegistryV1 + regV1WithAuth *testRegistryV1 // does v1 support auth? regV2WithAuth *testRegistryV2 } @@ -47,7 +47,7 @@ func (s *SkopeoSuite) SetUpTest(c *check.C) { _, err := exec.LookPath(skopeoBinary) c.Assert(err, check.IsNil) - s.regV1 = setupRegistryV1At(c, privateRegistryURL0, false) // not used + s.regV1 = setupRegistryV1At(c, privateRegistryURL0, false) // TODO:(runcom) s.regV2 = setupRegistryV2At(c, privateRegistryURL1, false, false) s.regV2Shema1 = setupRegistryV2At(c, privateRegistryURL2, false, true) s.regV1WithAuth = setupRegistryV1At(c, privateRegistryURL3, true) // not used diff --git a/integration/registry.go b/integration/registry.go index 2597fbc8..80c6983f 100644 --- a/integration/registry.go +++ b/integration/registry.go @@ -19,10 +19,15 @@ const ( ) type testRegistryV1 struct { + cmd *exec.Cmd + url string + dir string } func setupRegistryV1At(c *check.C, url string, auth bool) *testRegistryV1 { - return &testRegistryV1{} + return &testRegistryV1{ + url: url, + } } type testRegistryV2 struct {