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

17 lines
326 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) {
2016-10-22 03:34:30 +00:00
s.RunQemu(c, "--cloud-config", "./tests/assets/test_26/cloud-config.yml")
2016-08-31 23:18:51 +00:00
2016-11-07 19:36:37 +00:00
for i := 1; i < 6; i++ {
2016-08-31 23:18:51 +00:00
s.CheckCall(c, fmt.Sprintf("ls /home/rancher | grep test%d", i))
}
s.CheckCall(c, "docker ps | grep nginx")
2016-08-31 23:18:51 +00:00
}