12345678910111213 |
- package integration
- import . "gopkg.in/check.v1"
- func (s *QemuSuite) TestSwap(c *C) {
- err := s.RunQemu("--cloud-config", "./tests/assets/test_21/cloud-config.yml", "--second-drive")
- c.Assert(err, IsNil)
- s.CheckCall(c, "sudo mkswap /dev/vdb")
- s.CheckCall(c, "sudo cloud-init-execute")
- s.CheckCall(c, "cat /proc/swaps | grep /dev/vdb")
- }
|