Fix conmon and runc paths for kpod tests

Tests for kpod create and run were failing because the conmon
binary was being hardcoded.  We added a  --conmon global optioni
for kpod so we could pass in the conmon path from the helpers
file during tests

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude 2017-10-31 15:43:12 -05:00
parent c6cc205b78
commit b85fe5ab90
6 changed files with 11 additions and 12 deletions

View file

@ -154,7 +154,7 @@ func createCmd(c *cli.Context) error {
if err != nil {
return err
}
defer runtime.Shutdown(false)
imageName, err := createImage.GetFQName()
if err != nil {
return err
@ -174,10 +174,6 @@ func createCmd(c *cli.Context) error {
return err
}
if err := ctr.Create(); err != nil {
return err
}
if c.String("cidfile") != "" {
libpod.WriteFile(ctr.ID(), c.String("cidfile"))
} else {