(t *testing.T)
| 195 | } |
| 196 | |
| 197 | func TestNeedsSetupDevStrangeSourceDest(t *testing.T) { |
| 198 | config := &configs.Config{ |
| 199 | Mounts: []*configs.Mount{ |
| 200 | { |
| 201 | Device: "bind", |
| 202 | Source: "/devx", |
| 203 | Destination: "/devx", |
| 204 | }, |
| 205 | }, |
| 206 | } |
| 207 | if !needsSetupDev(config) { |
| 208 | t.Fatal("expected needsSetupDev to be true, got false") |
| 209 | } |
| 210 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…