git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f58896
)
For issue#381
author
Quanah Gibson-Mount
<quanah@symas.com>
Mon, 14 May 2018 21:14:13 +0000
(21:14 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 17 Dec 2018 17:21:07 +0000
(06:21 +1300)
Fix output to be grammatically correct.
tests/kdc/wait-kdc.sh
patch
|
blob
|
history
diff --git
a/tests/kdc/wait-kdc.sh
b/tests/kdc/wait-kdc.sh
index be30c0f4ec4ba730f5a9277b8cc60b5cda966b03..d0226fc1bddc7817d27ab51368e29387117d42e3 100644
(file)
--- a/
tests/kdc/wait-kdc.sh
+++ b/
tests/kdc/wait-kdc.sh
@@
-38,7
+38,7
@@
waitfor="${3:-${name} started}"
t=0
waitsec=65
-echo "Waiting for ${name} to start,
looking
logfile ${log}"
+echo "Waiting for ${name} to start,
see
logfile ${log}"
while true ; do
if grep "${waitfor}" ${log} > /dev/null; then
@@
-53,7
+53,7
@@
while true ; do
exit 1
fi
if [ "$t" -gt $waitsec ]; then
- echo "
Waited for $waitsec for the ${name} to start, and it didnt happen
"
+ echo "
Error: ${name} failed to start after $waitsec seconds
"
exit 2
fi