commit | a648a4d00896726b2bd4e7eb914f8955fe225595 | [log] [tgz] |
---|---|---|
author | Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> | Mon Jan 26 13:15:32 2015 +0300 |
committer | Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> | Wed Feb 04 11:03:11 2015 +0300 |
tree | 8013e7d183d0aeecc2c967265eafddd71903349b | |
parent | 4584f91dfdeef0685e189b046d736617e2af260b [diff] |
tst_run_cmd: add an option to pass the program exit code Added an option to pass the program exit code to the caller. This may be needed if we want to run a program with tst_run_cmd(), but handle failures manually (i.e. not call cleanup). Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>