This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project iwhd.git.
The branch, master has been updated
via 32a041e25d2c1c9d6e4c353ce8db6649aed62954 (commit)
from 5372c8c2f472846e480b44c498aae3177038949a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/iwhd.git/commit/32a041e25d2c1c9d6e4c353ce8db6649aed62954
commit 32a041e25d2c1c9d6e4c353ce8db6649aed62954
Author: Jim Meyering <meyering(a)redhat.com>
Date: Tue Oct 19 16:50:57 2010 +0200
tests: wait_for: report how long we waited, or that timeout expired
* t/init.cfg (wait_for): Tell how long we wait.
diff --git a/t/init.cfg b/t/init.cfg
index bffe669..90bb390 100644
--- a/t/init.cfg
+++ b/t/init.cfg
@@ -31,9 +31,10 @@ wait_for()
esac
local i=0
while :; do
- eval "$cmd" && return 0
+ eval "$cmd" && { warn_ "cmd took $i x ${sleep_seconds}s:
'$cmd'"; return 0; }
sleep $sleep_seconds
i=$(expr $i + 1)
- test $i = $max_n_sleeps && return 1
+ test $i = $max_n_sleeps + && { warn_ "EXPIRED: $i x
${sleep_seconds}s: '$cmd'"; return 1; }
done
}
-----------------------------------------------------------------------
Summary of changes:
t/init.cfg | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jim(a)meyering.net
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
iwhd.git ("image warehouse daemon")