8 expected_exit_code
= args
[1]
11 print("Running " + (" ".join(args
)))
12 real_exit_code
= subprocess
.call(args
)
14 if str(real_exit_code
) != expected_exit_code
:
15 print("Got exit code %d but expected %s" % (real_exit_code
, expected_exit_code
))