summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/kill_broker
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-05-30 16:13:58 +0000
committerAlan Conway <aconway@apache.org>2007-05-30 16:13:58 +0000
commit9193f94dd996458e76506134ad4b506444badd99 (patch)
tree57c8a3c32570b0abc1d351de3c149ac511652cd3 /qpid/cpp/src/tests/kill_broker
parentf75078e91e36cc12fc0e4c91fcac95c2c5a1f431 (diff)
downloadqpid-python-9193f94dd996458e76506134ad4b506444badd99.tar.gz
Logging infrastructure: See qpidd --long-help for details.
* src/qpid/log/*: Logging infrastructure, QPID_LOG macro. * src/*: changed output to cout/cerr to logging. * src/qpidd.cpp: logging options. * src/tests/Makefile.am: fixed issues with valgrind * src/tests/kill|start_broker: use broker daemon options. * src/tests/run_test: run tests in valgrind. Disabled till leaks in client_test are fixed. * src/test/unit/logging.cpp: Logging unit test using boost test framework. Eventually we should move all unit tests to boost & drop CppUnit. * src/test/unit/test_tools.h: useful extensions to boost framework: Regular expression check, ostream << for vectors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@542855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/kill_broker')
-rwxr-xr-xqpid/cpp/src/tests/kill_broker3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/kill_broker b/qpid/cpp/src/tests/kill_broker
index b71ca22ffd..e6331d6876 100755
--- a/qpid/cpp/src/tests/kill_broker
+++ b/qpid/cpp/src/tests/kill_broker
@@ -1,3 +1,2 @@
#!/bin/sh
-PID=qpidd.pid
-if [ -f $PID ] ; then kill -9 `cat $PID` ; rm -f $PID ; fi
+../qpidd --quit