From: Guillem Jover Date: Tue, 23 Jul 2019 00:48:43 +0000 (+0200) Subject: [PATCH libaio 20/28] harness: Make the test exit with a code matching the pass/fail... X-Git-Tag: archive/raspbian/0.3.112-13+rpi1~26 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=529af33338ac643830d42dc0f196cac3238d82a3;p=libaio.git [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 --- 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