Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
| ... | ... |
@@ -89,7 +89,7 @@ func (s *DockerSuite) TestRunDeviceDirectory(c *check.C) {
|
| 89 | 89 |
c.Assert(strings.Trim(out, "\r\n"), checker.Contains, "seq", check.Commentf("expected output /dev/othersnd/seq"))
|
| 90 | 90 |
} |
| 91 | 91 |
|
| 92 |
-// TestRunDetach checks attaching and detaching with the default escape sequence. |
|
| 92 |
+// TestRunAttachDetach checks attaching and detaching with the default escape sequence. |
|
| 93 | 93 |
func (s *DockerSuite) TestRunAttachDetach(c *check.C) {
|
| 94 | 94 |
name := "attach-detach" |
| 95 | 95 |
|
| ... | ... |
@@ -140,7 +140,7 @@ func (s *DockerSuite) TestRunAttachDetach(c *check.C) {
|
| 140 | 140 |
c.Assert(out, checker.Contains, "detach") |
| 141 | 141 |
} |
| 142 | 142 |
|
| 143 |
-// TestRunDetach checks attaching and detaching with the escape sequence specified via flags. |
|
| 143 |
+// TestRunAttachDetachFromFlag checks attaching and detaching with the escape sequence specified via flags. |
|
| 144 | 144 |
func (s *DockerSuite) TestRunAttachDetachFromFlag(c *check.C) {
|
| 145 | 145 |
name := "attach-detach" |
| 146 | 146 |
keyCtrlA := []byte{1}
|
| ... | ... |
@@ -201,7 +201,7 @@ func (s *DockerSuite) TestRunAttachDetachFromFlag(c *check.C) {
|
| 201 | 201 |
c.Assert(running, checker.Equals, "true", check.Commentf("expected container to still be running"))
|
| 202 | 202 |
} |
| 203 | 203 |
|
| 204 |
-// TestRunDetach checks attaching and detaching with the escape sequence specified via flags. |
|
| 204 |
+// TestRunAttachDetachFromInvalidFlag checks attaching and detaching with the escape sequence specified via flags. |
|
| 205 | 205 |
func (s *DockerSuite) TestRunAttachDetachFromInvalidFlag(c *check.C) {
|
| 206 | 206 |
name := "attach-detach" |
| 207 | 207 |
dockerCmd(c, "run", "--name", name, "-itd", "busybox", "top") |
| ... | ... |
@@ -233,7 +233,7 @@ func (s *DockerSuite) TestRunAttachDetachFromInvalidFlag(c *check.C) {
|
| 233 | 233 |
c.Assert(strings.TrimSpace(out), checker.Equals, errStr) |
| 234 | 234 |
} |
| 235 | 235 |
|
| 236 |
-// TestRunDetach checks attaching and detaching with the escape sequence specified via config file. |
|
| 236 |
+// TestRunAttachDetachFromConfig checks attaching and detaching with the escape sequence specified via config file. |
|
| 237 | 237 |
func (s *DockerSuite) TestRunAttachDetachFromConfig(c *check.C) {
|
| 238 | 238 |
keyCtrlA := []byte{1}
|
| 239 | 239 |
keyA := []byte{97}
|
| ... | ... |
@@ -316,7 +316,7 @@ func (s *DockerSuite) TestRunAttachDetachFromConfig(c *check.C) {
|
| 316 | 316 |
c.Assert(running, checker.Equals, "true", check.Commentf("expected container to still be running"))
|
| 317 | 317 |
} |
| 318 | 318 |
|
| 319 |
-// TestRunDetach checks attaching and detaching with the detach flags, making sure it overrides config file |
|
| 319 |
+// TestRunAttachDetachKeysOverrideConfig checks attaching and detaching with the detach flags, making sure it overrides config file |
|
| 320 | 320 |
func (s *DockerSuite) TestRunAttachDetachKeysOverrideConfig(c *check.C) {
|
| 321 | 321 |
keyCtrlA := []byte{1}
|
| 322 | 322 |
keyA := []byte{97}
|