Browse code

swap cat by top to prevent 2 warnings

Victor Vieux authored on 2013/10/25 07:06:10
Showing 1 changed files
... ...
@@ -731,7 +731,7 @@ func TestPostContainersRestart(t *testing.T) {
731 731
 	container, err := runtime.Create(
732 732
 		&Config{
733 733
 			Image:     GetTestImage(runtime).ID,
734
-			Cmd:       []string{"/bin/cat"},
734
+			Cmd:       []string{"/bin/top"},
735 735
 			OpenStdin: true,
736 736
 		},
737 737
 	)
... ...
@@ -837,7 +837,7 @@ func TestPostContainersStop(t *testing.T) {
837 837
 	container, err := runtime.Create(
838 838
 		&Config{
839 839
 			Image:     GetTestImage(runtime).ID,
840
-			Cmd:       []string{"/bin/cat"},
840
+			Cmd:       []string{"/bin/top"},
841 841
 			OpenStdin: true,
842 842
 		},
843 843
 	)