projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea01dc
)
testlib: set pipefail to catch errors in middle of pipe
author
Marko Kreen
<markokr@gmail.com>
Tue, 3 Nov 2009 12:24:26 +0000
(14:24 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 3 Nov 2009 12:43:44 +0000
(14:43 +0200)
tests/testlib.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/testlib.sh
b/tests/testlib.sh
index d703fba44c46925128972bce38906be694aa12ce..8260e435e71a5c78e86aacad89f8e1d6b41ae3cc 100755
(executable)
--- a/
tests/testlib.sh
+++ b/
tests/testlib.sh
@@
-10,6
+10,8
@@
v=
v=-v
v=-q
+set -o pipefail
+
cleardb() {
echo "Clearing database $1"
psql -q -d $1 -c "