chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6693c6
)
test/capture-log: Fix error handling
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 20:31:42 +0000
(20:31 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 21:52:16 +0000
(21:52 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/capture-log
patch
|
blob
|
history
diff --git
a/test/capture-log
b/test/capture-log
index 7eb0bab226070fe7b55271521a6a8edb83ae9ceb..4da14f244b9093935aba66b5fb392f7bcdd40bf1 100755
(executable)
--- a/
test/capture-log
+++ b/
test/capture-log
@@
-3,6
+3,7
@@
# SPDX-License-Identifier: GPL-3.0-or-later WITH LicenseRef-Hippotat-OpenSSL-Exception
# There is NO WARRANTY.
set -e
+set -o pipefail
log="$1"; shift
mkdir -p tmp