hs-test: create temporary folder at init
Type: test Signed-off-by: Maros Ondrejicka <mondreji@cisco.com> Change-Id: I6444582ce83beddc5cb2fcb31942a4c2e9556bb6
This commit is contained in:

committed by
Florin Coras

parent
e10ace2674
commit
f4ddf16eec
@ -321,3 +321,10 @@ func (c *Container) createConfig(targetConfigName string, templateName string, v
|
||||
|
||||
c.copy(f.Name(), targetConfigName)
|
||||
}
|
||||
|
||||
func init() {
|
||||
cmd := exec.Command("mkdir", "-p", logDir)
|
||||
if err := cmd.Run(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user