summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-08-15 22:40:30 +0000
committerAlan Conway <aconway@apache.org>2008-08-15 22:40:30 +0000
commita89ff937607b452a1b890861700eea08e08e7724 (patch)
treea1bc1cf7404c71a0219a585aaa7aa6dcfbb542d8 /cpp/src/tests
parent828592ed28dc68137c007dbc8ec92d6826cab929 (diff)
downloadqpid-python-a89ff937607b452a1b890861700eea08e08e7724.tar.gz
Fix memory leak in Cluster and enable valgrind in ais_check
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@686409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/ais_check3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/ais_check b/cpp/src/tests/ais_check
index e2d53b5870..d76841eb1d 100755
--- a/cpp/src/tests/ais_check
+++ b/cpp/src/tests/ais_check
@@ -1,4 +1,5 @@
#!/bin/sh
+srcdir=`dirname $0`
# Check AIS requirements tests if found.
id -nG | grep '\<ais\>' >/dev/null || \
@@ -31,6 +32,6 @@ with_ais_group() {
# Run the tests
srcdir=`dirname $0`
-with_ais_group ./cluster_test || ERROR=1
+with_ais_group $srcdir/run_test ./cluster_test || ERROR=1
exit $ERROR