(path, cmd string)
| 3320 | } |
| 3321 | |
| 3322 | func executeOnPath(path, cmd string) error { |
| 3323 | args := strings.Split(cmd, " ") |
| 3324 | c := exec.Command(args[0], args[1:]...) |
| 3325 | c.Dir = path |
| 3326 | c.Env = os.Environ() |
| 3327 | |
| 3328 | buf := bytes.NewBuffer(nil) |
| 3329 | c.Stderr = buf |
| 3330 | c.Stdout = buf |
| 3331 | |
| 3332 | return c.Run() |
| 3333 | } |
| 3334 | |
| 3335 | func (s *RepositorySuite) TestBrokenMultipleShallowFetch(c *C) { |
| 3336 | r, _ := Init(memory.NewStorage(), nil) |
no test coverage detected