246
246
self.log('$ ' + ' '.join(cmd))
249
254
if retcode != actual_retcode:
250
255
raise CommandFailed("test failed: %r returned %d, expected %d"
251
256
% (cmd, actual_retcode, retcode))
253
260
def backtick(self, cmd, retcode=0):
254
261
"""Run a command and return its output"""