tests: Rely on unittest2 to print failure messages

wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent 2c05958ecc
commit c34a12369e

@ -13,10 +13,6 @@ while time.time() < deadline and proc.poll() is None:
time.sleep(1.0)
if proc.poll() is not None:
if proc.returncode:
print
print >> sys.stderr, "Command failed:", sys.argv[2:]
print
sys.exit(proc.returncode)
proc.terminate()
print

Loading…
Cancel
Save