Use prefix naming for ps tests

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
Alexandr Morozov 2014-09-19 21:49:28 +04:00
parent 6e8c9e7bee
commit 00b82fcab6
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import (
"time" "time"
) )
func TestListContainers(t *testing.T) { func TestPsListContainers(t *testing.T) {
runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top") runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
out, _, err := runCommandWithOutput(runCmd) out, _, err := runCommandWithOutput(runCmd)
errorOut(err, t, out) errorOut(err, t, out)
@ -201,7 +201,7 @@ func assertContainerList(out string, expected []string) bool {
return true return true
} }
func TestListContainersSize(t *testing.T) { func TestPsListContainersSize(t *testing.T) {
name := "test_size" name := "test_size"
runCmd := exec.Command(dockerBinary, "run", "--name", name, "busybox", "sh", "-c", "echo 1 > test") runCmd := exec.Command(dockerBinary, "run", "--name", name, "busybox", "sh", "-c", "echo 1 > test")
out, _, err := runCommandWithOutput(runCmd) out, _, err := runCommandWithOutput(runCmd)