mirror of
https://github.com/rancher/os.git
synced 2025-09-02 23:34:57 +00:00
Ignore error creating /var/lib/system-docker if it already exists
This commit is contained in:
10
tests/nonexistent_state_test.go
Normal file
10
tests/nonexistent_state_test.go
Normal file
@@ -0,0 +1,10 @@
|
||||
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")
|
||||
}
|
Reference in New Issue
Block a user