mirror of
https://github.com/rancher/os.git
synced 2025-06-26 15:01:34 +00:00
11 lines
291 B
Go
11 lines
291 B
Go
package integration
|
|
|
|
import . "gopkg.in/check.v1"
|
|
|
|
func (s *QemuSuite) TestNonexistentState(c *C) {
|
|
err := s.RunQemu("--no-format", "--append", "rancher.state.dev=LABEL=NONEXISTENT")
|
|
c.Assert(err, IsNil)
|
|
|
|
s.CheckCall(c, "sudo ros config get rancher.state.dev | grep LABEL=NONEXISTENT")
|
|
}
|