diff options
| author | Alan Conway <aconway@apache.org> | 2007-12-14 18:40:03 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-12-14 18:40:03 +0000 |
| commit | bbdd7c64343a31764e19ad5b3bc9e636ff8b2be8 (patch) | |
| tree | a9e9f303995d6ecb9a6561c66da9308da5d66796 /cpp/examples/verify | |
| parent | 757539b0223f0c8c76d2822b0894ce59690b71a6 (diff) | |
| download | qpid-python-bbdd7c64343a31764e19ad5b3bc9e636ff8b2be8.tar.gz | |
verify: starts its own broker when run in build.
Makefile.am: fixed verify issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604249 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/verify')
| -rwxr-xr-x | cpp/examples/verify | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/examples/verify b/cpp/examples/verify index 695a1ee3e7..b53afe470d 100755 --- a/cpp/examples/verify +++ b/cpp/examples/verify @@ -8,8 +8,10 @@ SRC=`dirname $0 | sed 's|^\([^/].*\)|'$PWD'/\1|'`/examples # Start private broker if QPIDD is set. if [ -n "$QPIDD" ] ; then - QPID_PORT=`$QPIDD -dp0` || { echo "Cannot start $QPIDD" ; exit 1; } - export QPID_PORT + # FIXME aconway 2007-12-14: Should use --port 0, need + # to make examples clients more flexible to connect. + # + $QPIDD -d || { echo "Cannot start $QPIDD" ; exit 1; } trap "$QPIDD -q" EXIT fi @@ -73,7 +75,7 @@ request_response() { # FIXME aconway 2007-12-14: put back pub-sub and persistence when fixed. # Main -for ex in direct fanout request-response ; do +for ex in direct fanout request-response ; do func=`echo $ex | tr - _` echo "Verifing $ex" ( cd $ex && $func && verify && rm -f *.out *.wait) |
