modules_test.go 364 B

1234567891011121314
  1. package integration
  2. import . "gopkg.in/check.v1"
  3. func (s *QemuSuite) TestKernelParameterModule(c *C) {
  4. s.RunQemu(c, "--append", "rancher.modules=[btrfs]")
  5. s.CheckCall(c, "lsmod | grep btrfs")
  6. }
  7. func (s *QemuSuite) TestCloudConfigModule(c *C) {
  8. s.RunQemu(c, "--cloud-config", "./tests/assets/test_27/cloud-config.yml")
  9. s.CheckCall(c, "lsmod | grep btrfs")
  10. }