1
0
mirror of https://github.com/rancher/os.git synced 2025-06-26 15:01:34 +00:00
os/tests/start_commands_test.go

17 lines
310 B
Go
Raw Normal View History

2016-08-31 23:18:51 +00:00
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))
}
}