mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
Load modules after running PrepareFs
This commit is contained in:
13
tests/modules_test.go
Normal file
13
tests/modules_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package integration
|
||||
|
||||
import . "gopkg.in/check.v1"
|
||||
|
||||
func (s *QemuSuite) TestKernelParameterModule(c *C) {
|
||||
s.RunQemu(c, "--append", "rancher.modules=[btrfs]")
|
||||
s.CheckCall(c, "lsmod | grep btrfs")
|
||||
}
|
||||
|
||||
func (s *QemuSuite) TestCloudConfigModule(c *C) {
|
||||
s.RunQemu(c, "--cloud-config", "./tests/assets/test_27/cloud-config.yml")
|
||||
s.CheckCall(c, "lsmod | grep btrfs")
|
||||
}
|
Reference in New Issue
Block a user