Combined returns combined stdout and stderr output of a command run by Exec()
()
| 27 | |
| 28 | // Combined returns combined stdout and stderr output of a command run by Exec() |
| 29 | func (res ExecResult) Combined() string { |
| 30 | return res.outBuffer.String() + res.errBuffer.String() |
| 31 | } |
| 32 | |
| 33 | // AssertSuccess fails the test and stops execution if the command exited with a |
| 34 | // nonzero status code. |