Signed-off-by: Brian Goff <cpuguy83@gmail.com>
| ... | ... |
@@ -59,7 +59,7 @@ func (s *DockerSuite) TestConfigHTTPHeader(c *check.C) {
|
| 59 | 59 |
c.Assert(headers["User-Agent"], checker.NotNil, check.Commentf("Missing User-Agent"))
|
| 60 | 60 |
|
| 61 | 61 |
//TODO(tiborvass): restore dockerversion.Version instead of library-import |
| 62 |
- c.Assert(headers["User-Agent"][0], checker.Equals, "Docker-Client/library-import ("+runtime.GOOS+")", check.Commentf("Badly formatted User-Agent,out:%v", result.Combined()))
|
|
| 62 |
+ c.Assert(headers["User-Agent"][0], checker.Equals, "Docker-Client/unknown-version ("+runtime.GOOS+")", check.Commentf("Badly formatted User-Agent,out:%v", result.Combined()))
|
|
| 63 | 63 |
|
| 64 | 64 |
c.Assert(headers["Myheader"], checker.NotNil) |
| 65 | 65 |
c.Assert(headers["Myheader"][0], checker.Equals, "MyValue", check.Commentf("Missing/bad header,out:%v", result.Combined()))
|
| ... | ... |
@@ -143,7 +143,7 @@ func (s *DockerSuite) TestExecPausedContainer(c *check.C) {
|
| 143 | 143 |
ContainerID := strings.TrimSpace(out) |
| 144 | 144 |
|
| 145 | 145 |
dockerCmd(c, "pause", "testing") |
| 146 |
- out, _, err := dockerCmdWithError("exec", "-i", "-t", ContainerID, "echo", "hello")
|
|
| 146 |
+ out, _, err := dockerCmdWithError("exec", ContainerID, "echo", "hello")
|
|
| 147 | 147 |
c.Assert(err, checker.NotNil, check.Commentf("container should fail to exec new command if it is paused"))
|
| 148 | 148 |
|
| 149 | 149 |
expected := ContainerID + " is paused, unpause the container before exec" |