From 1731491428861dc9a833aa84680c07365136d36c Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 23 Jul 2019 02:48:43 +0200 Subject: [PATCH] [PATCH libaio 20/28] 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 Signed-off-by: Jeff Moyer Gbp-Pq: Topic upstream Gbp-Pq: Name 0020-harness-Make-the-test-exit-with-a-code-matching-the-.patch --- harness/runtests.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2