1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Execute start scripts using bash

This commit is contained in:
Josh Curl
2016-08-31 16:18:51 -07:00
parent bd904fcbda
commit d4a026dc5d
4 changed files with 62 additions and 29 deletions

View File

@@ -0,0 +1,16 @@
package integration
import (
"fmt"
. "gopkg.in/check.v1"
)
func (s *QemuSuite) TestStartCommands(c *C) {
err := s.RunQemu("--cloud-config", "./tests/assets/test_26/cloud-config.yml")
c.Assert(err, IsNil)
for i := 1; i < 6; i++ {
s.CheckCall(c, fmt.Sprintf("ls /home/rancher | grep test%d", i))
}
}