projects
/
libaio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee78f36
)
[PATCH libaio 20/28] harness: Make the test exit with a code matching the pass/fail...
author
Guillem Jover
<guillem@hadrons.org>
Tue, 23 Jul 2019 00:48:43 +0000
(
02:48
+0200)
committer
Guillem Jover
<guillem@debian.org>
Tue, 2 Nov 2021 23:56:45 +0000
(23:56 +0000)
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>
Gbp-Pq: Topic upstream
Gbp-Pq: Name 0020-harness-Make-the-test-exit-with-a-code-matching-the-.patch
harness/runtests.sh
patch
|
blob
|
history
diff --git
a/harness/runtests.sh
b/harness/runtests.sh
index 717c72a614b7db7ac8558d870b6db1c459a1e76c..ef269a762e47f1adc9d70fbde903273ac893b23a 100755
(executable)
--- 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