write_files_test.go 453 B

12345678910111213
  1. package integration
  2. import . "gopkg.in/check.v1"
  3. func (s *QemuSuite) TestWriteFiles(c *C) {
  4. s.RunQemu(c, "--cloud-config", "./tests/assets/test_24/cloud-config.yml")
  5. s.CheckCall(c, "sudo cat /test | grep 'console content'")
  6. s.CheckCall(c, "sudo cat /test2 | grep 'console content'")
  7. s.CheckCall(c, "sudo system-docker exec ntp cat /test | grep 'ntp content'")
  8. s.CheckCall(c, "sudo system-docker exec syslog cat /test | grep 'syslog content'")
  9. }