diff options
author | Alan Conway <aconway@apache.org> | 2008-02-18 17:27:11 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-02-18 17:27:11 +0000 |
commit | aac76b9da472b77e3b41a8ced980ca53e3df48bc (patch) | |
tree | 797baa2612bbe366378b49532ce975310be8d962 /bin | |
parent | c1695ab27ad7d2208a2d75a54a0066103ebf1d25 (diff) | |
download | qpid-python-aac76b9da472b77e3b41a8ced980ca53e3df48bc.tar.gz |
Added sleep to verify script to avoid startup races.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628827 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/verify | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/verify b/bin/verify index 96fe1df9b3..652f83b83f 100755 --- a/bin/verify +++ b/bin/verify @@ -38,6 +38,8 @@ background() { out=`outfile $*` eval "$* $ARGS > $out &" || { fail; return 1; } waitfor $out "$pattern" + # printing the ready message doesn't guarnatee we're ready, so sleep a bit. + sleep 1 } name() { @@ -79,7 +81,7 @@ if [ -n "$QPIDD" ] ; then fi for example in "$@"; do - echo -n "$example : " + echo -n "== $example " if ( verify $example; ) then echo "PASS"; else echo "FAIL"; RET=1; fi done exit $RET |