diff options
author | Guillem Jover <guillem@hadrons.org> | 2019-07-23 02:48:43 +0200 |
---|---|---|
committer | Jeff Moyer <jmoyer@redhat.com> | 2019-07-29 12:34:01 -0400 |
commit | abcb9eeacc2f12c3d77b66c274ace9bffecf68e3 (patch) | |
tree | 7c26b104b283d3eec8a613f4b6e97bb6f9ddda77 | |
parent | f322f467c3cd2ac4d8d08a19bd281eabb65433b1 (diff) | |
download | libaio-abcb9eeacc2f12c3d77b66c274ace9bffecf68e3.tar.gz |
harness: Make the test exit with a code matching the pass/fail state
This way we can use the exit code to check whether the tests passed or
failed, and fail the package build.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
-rwxr-xr-x | harness/runtests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/harness/runtests.sh b/harness/runtests.sh index 717c72a..ef269a7 100755 --- a/harness/runtests.sh +++ b/harness/runtests.sh @@ -17,3 +17,5 @@ done echo "Pass: $passes Fail: $fails" echo "Test run complete at" `date` + +exit $fails |