(t *testing.T)
| 177 | } |
| 178 | |
| 179 | func TestValidateContainerIsolationLinux(t *testing.T) { |
| 180 | d := Daemon{} |
| 181 | |
| 182 | _, err := d.verifyContainerSettings(&configStore{}, &containertypes.HostConfig{Isolation: containertypes.IsolationHyperV}, nil, false) |
| 183 | assert.Check(t, is.Error(err, "invalid isolation 'hyperv' on linux")) |
| 184 | } |
| 185 | |
| 186 | func TestShouldUnmountRoot(t *testing.T) { |
| 187 | for _, test := range []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…