Make test case name consistent
Replace `Tty` with `TTY` in all test case names so that we can run a bundle of `TTY` related test cases with TESTFLAGS like `-check.f TestExecTTY*` Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
parent
a1c6642c45
commit
e151ad936a
3 changed files with 4 additions and 4 deletions
|
@ -86,7 +86,7 @@ func (s *DockerSuite) TestAttachMultipleAndRestart(c *check.C) {
|
|||
}
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestAttachTtyWithoutStdin(c *check.C) {
|
||||
func (s *DockerSuite) TestAttachTTYWithoutStdin(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
out, _ := dockerCmd(c, "run", "-d", "-ti", "busybox")
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ func (s *DockerSuite) TestExecPausedContainer(c *check.C) {
|
|||
}
|
||||
|
||||
// regression test for #9476
|
||||
func (s *DockerSuite) TestExecTtyCloseStdin(c *check.C) {
|
||||
func (s *DockerSuite) TestExecTTYCloseStdin(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
dockerCmd(c, "run", "-d", "-it", "--name", "exec_tty_stdin", "busybox")
|
||||
|
||||
|
@ -160,7 +160,7 @@ func (s *DockerSuite) TestExecTtyCloseStdin(c *check.C) {
|
|||
c.Assert(out, checker.Not(checker.Contains), "nsenter-exec")
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestExecTtyWithoutStdin(c *check.C) {
|
||||
func (s *DockerSuite) TestExecTTYWithoutStdin(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
out, _ := dockerCmd(c, "run", "-d", "-ti", "busybox")
|
||||
id := strings.TrimSpace(out)
|
||||
|
|
|
@ -2548,7 +2548,7 @@ func (s *DockerSuite) TestRunPortFromDockerRangeInUse(c *check.C) {
|
|||
dockerCmd(c, "port", id)
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestRunTtyWithPipe(c *check.C) {
|
||||
func (s *DockerSuite) TestRunTTYWithPipe(c *check.C) {
|
||||
errChan := make(chan error)
|
||||
go func() {
|
||||
defer close(errChan)
|
||||
|
|
Loading…
Reference in a new issue