1
0
mirror of https://github.com/rancher/os.git synced 2025-06-30 00:31:49 +00:00
os/tests/runcmd_test.go
2016-08-22 13:22:27 -07:00

12 lines
291 B
Go

package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestRuncmd(c *C) {
err := s.RunQemu("--cloud-config", "./tests/assets/test_26/cloud-config.yml")
c.Assert(err, IsNil)
s.CheckCall(c, "ls /home/rancher | grep test")
s.CheckCall(c, "ls /home/rancher | grep test2")
}