(path, cmd string)
| 3289 | } |
| 3290 | |
| 3291 | func executeOnPath(path, cmd string) error { |
| 3292 | args := strings.Split(cmd, " ") |
| 3293 | c := exec.Command(args[0], args[1:]...) |
| 3294 | c.Dir = path |
| 3295 | c.Env = os.Environ() |
| 3296 | |
| 3297 | buf := bytes.NewBuffer(nil) |
| 3298 | c.Stderr = buf |
| 3299 | c.Stdout = buf |
| 3300 | |
| 3301 | return c.Run() |
| 3302 | } |
| 3303 | |
| 3304 | func (s *RepositorySuite) TestBrokenMultipleShallowFetch(c *C) { |
| 3305 | r, _ := Init(memory.NewStorage(), nil) |
no test coverage detected
searching dependent graphs…