浏览代码

swap cat by top to prevent 2 warnings

Victor Vieux 11 年之前
父节点
当前提交
0e021ed470
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api_test.go

+ 2 - 2
api_test.go

@@ -731,7 +731,7 @@ func TestPostContainersRestart(t *testing.T) {
 	container, err := runtime.Create(
 		&Config{
 			Image:     GetTestImage(runtime).ID,
-			Cmd:       []string{"/bin/cat"},
+			Cmd:       []string{"/bin/top"},
 			OpenStdin: true,
 		},
 	)
@@ -837,7 +837,7 @@ func TestPostContainersStop(t *testing.T) {
 	container, err := runtime.Create(
 		&Config{
 			Image:     GetTestImage(runtime).ID,
-			Cmd:       []string{"/bin/cat"},
+			Cmd:       []string{"/bin/top"},
 			OpenStdin: true,
 		},
 	)