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:
@@ -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'")
|
||||
|
Reference in New Issue
Block a user