summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_cluster_tests
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/run_cluster_tests')
-rwxr-xr-xcpp/src/tests/run_cluster_tests7
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/tests/run_cluster_tests b/cpp/src/tests/run_cluster_tests
index b6c144bb05..997cddf1e2 100755
--- a/cpp/src/tests/run_cluster_tests
+++ b/cpp/src/tests/run_cluster_tests
@@ -19,15 +19,12 @@
# under the License.
#
-srcdir=$(dirname $0)
-. $srcdir/test_env.sh checkout $srcdir/../../.. ../.. || exit 1
-. $srcdir/ais_check
+source ./test_env.sh
+source $srcdir/ais_check
TEST_EXEC=$QPID_PYTHON_COMMANDS/qpid-python-test
test -x $TEST_EXEC || { echo Skipping test, $TEST_EXEC not found; exit 0; }
-PYTHONPATH=$srcdir:$PYTHONPATH
-
# Delete old cluster test data
OUTDIR=brokertest.tmp
rm -rf $OUTDIR