1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 21:23:13 +00:00

Always assert RunQemu is successful

This commit is contained in:
Josh Curl
2016-10-21 20:34:30 -07:00
parent 4057275605
commit 2ae22a66fe
28 changed files with 36 additions and 72 deletions

View File

@@ -3,8 +3,7 @@ package integration
import . "gopkg.in/check.v1"
func (s *QemuSuite) TestWriteFiles(c *C) {
err := s.RunQemu("--cloud-config", "./tests/assets/test_24/cloud-config.yml")
c.Assert(err, IsNil)
s.RunQemu(c, "--cloud-config", "./tests/assets/test_24/cloud-config.yml")
s.CheckCall(c, "sudo cat /test | grep 'console content'")
s.CheckCall(c, "sudo cat /test2 | grep 'console content'")