test: remove extra args in TestExitCode
The extra blank argument isn't needed and confuses libvirt. Upstream-commit: 4b80ec9aae2f43e831de64f3746c7838252e9203 Component: engine
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user