Browse Source

test: remove extra args in TestExitCode

The extra blank argument isn't needed and confuses libvirt.
Josh Poimboeuf 11 years ago
parent
commit
4b80ec9aae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration/container_test.go

+ 2 - 2
integration/container_test.go

@@ -568,7 +568,7 @@ func TestExitCode(t *testing.T) {
 
 	trueContainer, _, err := runtime.Create(&docker.Config{
 		Image: GetTestImage(runtime).ID,
-		Cmd:   []string{"/bin/true", ""},
+		Cmd:   []string{"/bin/true"},
 	}, "")
 	if err != nil {
 		t.Fatal(err)
@@ -583,7 +583,7 @@ func TestExitCode(t *testing.T) {
 
 	falseContainer, _, err := runtime.Create(&docker.Config{
 		Image: GetTestImage(runtime).ID,
-		Cmd:   []string{"/bin/false", ""},
+		Cmd:   []string{"/bin/false"},
 	}, "")
 	if err != nil {
 		t.Fatal(err)