mirror of
https://github.com/rancher/os.git
synced 2025-06-23 13:37:03 +00:00
14 lines
460 B
Go
14 lines
460 B
Go
package integration
|
|
|
|
import . "gopkg.in/check.v1"
|
|
|
|
func (s *QemuSuite) TestBadState(c *C) {
|
|
s.RunQemu(c, "--no-format", "--append", "rancher.state.dev=LABEL=BAD_STATE")
|
|
s.CheckCall(c, "mount | grep /var/lib/docker | grep rootfs")
|
|
}
|
|
|
|
func (s *QemuSuite) TestBadStateWithWait(c *C) {
|
|
s.RunQemu(c, "--no-format", "--append", "rancher.state.dev=LABEL=BAD_STATE", "--append", "rancher.state.wait")
|
|
s.CheckCall(c, "mount | grep /var/lib/docker | grep rootfs")
|
|
}
|