summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/test_env
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-04-30 19:03:53 +0000
committerAlan Conway <aconway@apache.org>2007-04-30 19:03:53 +0000
commitfa4efb315972cb0786cdd89e582a85efc2c49da1 (patch)
tree9b8689543dfbe233c8fb9a85a8054a2b28eaadd6 /qpid/cpp/src/tests/test_env
parent995b3bb838af38dccec9c96284d9394c9efeb386 (diff)
downloadqpid-python-fa4efb315972cb0786cdd89e582a85efc2c49da1.tar.gz
Resolves: QPID-298, QPID-304: qpidd flags to control broker daemon.
* README: added new dependency, libdaemon. * qpidc.spec.in: libdaemon dependencies. * broker/Daemon.h|cpp: Daemon and pid file management, wrapper for libdaemon. * qpidd.cpp modifid flags -d [ --daemon ] - waits till deamon is listening before returning. * qpidd.cpp: new flags -q [ --quit ] Stop the running daemon politely. -k [ --kill ] Kill the running daemon harshly. -c [ --check ] If daemon is running return 0. --wait SECONDS (=10) Maximum wait for daemon response. --ppid Print daemon pid to stdout * tests/dameon_test: Test daemon startup, shutdown. * test_env: minor fix. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@533828 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/test_env')
-rwxr-xr-xqpid/cpp/src/tests/test_env2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/test_env b/qpid/cpp/src/tests/test_env
index fdfc5f0369..c73cac43ea 100755
--- a/qpid/cpp/src/tests/test_env
+++ b/qpid/cpp/src/tests/test_env
@@ -6,7 +6,7 @@
# Use VALGRIND if set, else look on path.
test -z "$VALGRIND" && VALGRIND=`which valgrind 2>/dev/null`
# No valgrind, just run the command
-test -z "$VALGRIND" && exec libtool --mode=execute "$@"
+test -z "$VALGRIND" && { exec libtool --mode=execute "$@"; exit $?; }
test "$VERBOSE" = yes && set -x
test -z "$vg_log" && vg_log=valgrind.out