1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

test: remove extra args in TestExitCode

The extra blank argument isn't needed and confuses libvirt.
This commit is contained in:
Josh Poimboeuf 2013-11-08 11:08:18 -06:00
parent fef41ef7bf
commit 4b80ec9aae

View file

@ -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)