From 915e64052f567382444272a3101c43ddbe451b60 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Tue, 26 Feb 2019 03:07:28 +0100
Subject: [PATCH libaio v3 7/7] 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.
---
 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.22.0.657.g960e92d24f

