1
0
mirror of https://github.com/rancher/os.git synced 2025-06-25 22:41:36 +00:00
os/tests/start_commands_test.go
2016-10-23 16:23:30 -07:00

17 lines
326 B
Go

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