From 8eafbcc7821ea6a6a6976e06fe2c6810c9767e2b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 26 Jun 2008 18:12:12 +0000 Subject: Consolidated cluster tests in cluster_test.cpp Improvements to BrokerFixture for testing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@671969 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/start_cluster | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 qpid/cpp/src/tests/start_cluster (limited to 'qpid/cpp/src/tests/start_cluster') diff --git a/qpid/cpp/src/tests/start_cluster b/qpid/cpp/src/tests/start_cluster deleted file mode 100755 index 46ecbad9c5..0000000000 --- a/qpid/cpp/src/tests/start_cluster +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Start a cluster of brokers on local host. -# Print the cluster's URL. -# - -# Execute command with the ais group set. -with_ais_group() { - id -nG | grep '\' >/dev/null || { echo "You are not a member of the ais group."; exit 1; } - echo $* | newgrp ais -} - -test -f cluster.ports && { echo "cluster.ports file already exists" ; exit 1; } -test -z "$*" && { echo "Usage: $0 cluster-size [options]"; exit 1; } - -rm -f cluster*.log cluster.ports -SIZE=$1 -shift -CLUSTER=`whoami` # Cluster name=user name, avoid clashes. -OPTS="--load-module ../.libs/libqpidcluster.so -dp0 --log-output=cluster$i.log --cluster-name=$CLUSTER --no-data-dir --auth=no $*" - -for (( i=0; i> cluster.ports -done - - -- cgit v1.2.1