commit | 3d2deae3a823b33d5d6886f3ee0565329407af7f | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Apr 27 13:40:43 2016 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Apr 27 13:52:39 2016 +0200 |
tree | b5d86d2fe17019f22902f639990ceeb8eae185d1 | |
parent | cd3c33ab193020035420590613997229db9ab713 [diff] |
lib/tst_run_cmd: Make it possible to detect ENOENT Previously the code did _exit(-1) on any execvp() failure and detecting ENOENT and possibly exit the test with TCONF wasn't possible. Now we do _exit(255) on ENOENT and _exit(254) in the rest of the cases. + Update test-writing-guidelines Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Suggested-by: Jan Stancek <jstancek@redhat.com>