1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Add test for incorrect nonroot passphrase

Fix failing tests for create, push, and pull

Signed-off-by: Diogo Monica <diogo@docker.com>
This commit is contained in:
Diogo Monica
2015-07-22 11:39:35 -07:00
committed by Derek McGowan
parent 1406cb35fd
commit eeb6d0a71b
3 changed files with 58 additions and 37 deletions

View File

@ -8,9 +8,10 @@ import (
"strings"
"time"
"os/exec"
"github.com/docker/docker/pkg/nat"
"github.com/go-check/check"
"os/exec"
)
// Make sure we can create a simple container with some args
@ -274,7 +275,7 @@ func (s *DockerSuite) TestCreateModeIpcContainer(c *check.C) {
}
func (s *DockerTrustSuite) TestTrustedCreate(c *check.C) {
repoName := fmt.Sprintf("%v/dockercli/trusted:latest", privateRegistryURL)
repoName := fmt.Sprintf("%v/dockerclicreate/trusted:latest", privateRegistryURL)
// tag the image and upload it to the private registry
dockerCmd(c, "tag", "busybox", repoName)