(cmd *exec.Cmd)
| 125 | } |
| 126 | |
| 127 | func run(cmd *exec.Cmd) error { |
| 128 | out, err := cmd.CombinedOutput() |
| 129 | if err != nil { |
| 130 | return fmt.Errorf("unable to execute %v: %s\n%s", cmd.Path, err, string(out)) |
| 131 | } |
| 132 | log.Debugf("Command %v output %v", cmd.Path, string(out)) |
| 133 | return nil |
| 134 | } |
| 135 | |
| 136 | func verify(expected string) error { |
| 137 | cmd := be.Command("show") |
no outgoing calls
no test coverage detected