]> granicus.if.org Git - strace/commit
tests/init.sh: print exit code of failed commands
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 13 Aug 2016 22:05:20 +0000 (22:05 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 13 Aug 2016 22:05:20 +0000 (22:05 +0000)
commite4e9df22597e8a58a47e01beddc76077ea62a447
tree9bdd5589a0acad03d78a7672fdeeace83643cdf0
parent559ec3e06db4e20ade6f38dcf54c3312ee22616d
tests/init.sh: print exit code of failed commands

* init.sh (run_prog, run_prog_skip_if_failed): When the program fails,
add its exit code to the diagnostic message.
(run_strace): When strace fails, add its exit code to the diagnostic
message.
(run_strace_merge): When strace-log-merge fails, add its exit code
to the diagnostic message.
tests/init.sh