sysctl_test.go 325 B

123456789101112
  1. package integration
  2. import . "gopkg.in/check.v1"
  3. func (s *QemuSuite) TestSysctl(c *C) {
  4. err := s.RunQemu("--cloud-config", "./tests/assets/test_20/cloud-config.yml")
  5. c.Assert(err, IsNil)
  6. s.CheckCall(c, "sudo cat /proc/sys/kernel/domainname | grep test")
  7. s.CheckCall(c, "sudo cat /proc/sys/dev/cdrom/debug | grep 1")
  8. }