mirror of
https://github.com/rancher/os.git
synced 2025-09-17 23:48:09 +00:00
Refactor integration tests
This commit is contained in:
11
tests/sysctl_test.go
Normal file
11
tests/sysctl_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package integration
|
||||
|
||||
import . "gopkg.in/check.v1"
|
||||
|
||||
func (s *QemuSuite) TestSysctl(c *C) {
|
||||
err := s.RunQemu("--cloud-config", "./tests/assets/test_20/cloud-config.yml")
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
s.CheckCall(c, "sudo cat /proc/sys/kernel/domainname | grep test")
|
||||
s.CheckCall(c, "sudo cat /proc/sys/dev/cdrom/debug | grep 1")
|
||||
}
|
Reference in New Issue
Block a user