mirror of
https://github.com/rancher/os.git
synced 2025-06-26 23:06:51 +00:00
18 lines
352 B
Go
18 lines
352 B
Go
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 < 5; i++ {
|
|
s.CheckCall(c, fmt.Sprintf("ls /home/rancher | grep test%d", i))
|
|
}
|
|
s.CheckCall(c, "docker ps | grep nginx")
|
|
}
|