(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func TestValidate(t *testing.T) { |
| 16 | config := &configs.Config{ |
| 17 | Rootfs: "/var", |
| 18 | } |
| 19 | |
| 20 | err := Validate(config) |
| 21 | if err != nil { |
| 22 | t.Errorf("Expected error to not occur: %+v", err) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | func TestValidateWithInvalidRootfs(t *testing.T) { |
| 27 | dir := "rootfs" |
nothing calls this directly
no test coverage detected
searching dependent graphs…