mirror of
https://github.com/rancher/os.git
synced 2025-09-25 12:47:20 +00:00
Refactor integration tests
This commit is contained in:
10
tests/cloud_config_mounts_test.go
Normal file
10
tests/cloud_config_mounts_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package integration
|
||||
|
||||
import . "gopkg.in/check.v1"
|
||||
|
||||
func (s *QemuSuite) TestCloudConfigMounts(c *C) {
|
||||
err := s.RunQemu("--cloud-config", "./tests/assets/test_16/cloud-config.yml")
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
s.CheckCall(c, "cat /home/rancher/test | grep test")
|
||||
}
|
Reference in New Issue
Block a user