nonexistent_state_test.go 291 B

1234567891011
  1. package integration
  2. import . "gopkg.in/check.v1"
  3. func (s *QemuSuite) TestNonexistentState(c *C) {
  4. err := s.RunQemu("--no-format", "--append", "rancher.state.dev=LABEL=NONEXISTENT")
  5. c.Assert(err, IsNil)
  6. s.CheckCall(c, "sudo ros config get rancher.state.dev | grep LABEL=NONEXISTENT")
  7. }