projects
/
pgbouncer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd20567
)
Improve shell script portability
author
Peter Eisentraut
<peter@eisentraut.org>
Sat, 18 Aug 2018 20:11:43 +0000
(22:11 +0200)
committer
Peter Eisentraut
<peter@eisentraut.org>
Sat, 18 Aug 2018 20:11:43 +0000
(22:11 +0200)
Use printf instead of echo -n, for BSD compatibility, similar to
1b6db6c506cbed67fb4012a1217898a4b8e35252
.
test/ssl/test.sh
patch
|
blob
|
history
diff --git
a/test/ssl/test.sh
b/test/ssl/test.sh
index a86d3bf1820ebcf63b41e75e2b8f4fa19efa747c..7891d53965b194e49b00f3154ab806e9743cd2c4 100755
(executable)
--- a/
test/ssl/test.sh
+++ b/
test/ssl/test.sh
@@
-124,7
+124,7
@@
admin() {
}
runtest() {
-
echo -n
"`date` running $1 ... "
+
printf
"`date` running $1 ... "
eval $1 >$LOGDIR/$1.log 2>&1
if [ $? -eq 0 ]; then
echo "ok"