Browse code

Use prefix naming for create tests

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>

Alexandr Morozov authored on 2014/09/19 21:38:21
Showing 1 changed files
... ...
@@ -9,7 +9,7 @@ import (
9 9
 )
10 10
 
11 11
 // Make sure we can create a simple container with some args
12
-func TestDockerCreateArgs(t *testing.T) {
12
+func TestCreateArgs(t *testing.T) {
13 13
 	runCmd := exec.Command(dockerBinary, "create", "busybox", "command", "arg1", "arg2", "arg with space")
14 14
 	out, _, _, err := runCommandWithStdoutStderr(runCmd)
15 15
 	errorOut(err, t, out)
... ...
@@ -57,7 +57,7 @@ func TestDockerCreateArgs(t *testing.T) {
57 57
 }
58 58
 
59 59
 // Make sure we can set hostconfig options too
60
-func TestDockerCreateHostConfig(t *testing.T) {
60
+func TestCreateHostConfig(t *testing.T) {
61 61
 	runCmd := exec.Command(dockerBinary, "create", "-P", "busybox", "echo")
62 62
 	out, _, _, err := runCommandWithStdoutStderr(runCmd)
63 63
 	errorOut(err, t, out)
... ...
@@ -95,7 +95,7 @@ func TestDockerCreateHostConfig(t *testing.T) {
95 95
 }
96 96
 
97 97
 // "test123" should be printed by docker create + start
98
-func TestDockerCreateEchoStdout(t *testing.T) {
98
+func TestCreateEchoStdout(t *testing.T) {
99 99
 	runCmd := exec.Command(dockerBinary, "create", "busybox", "echo", "test123")
100 100
 	out, _, _, err := runCommandWithStdoutStderr(runCmd)
101 101
 	errorOut(err, t, out)