diff options
author | Alan Conway <aconway@apache.org> | 2007-08-10 01:10:04 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-08-10 01:10:04 +0000 |
commit | a509a3c1b8f72dbdf696294945f1946d3995e436 (patch) | |
tree | ee69a0f2b1e4266320742b4dc46cacc361c038fc /cpp/src/tests | |
parent | 66587b44196d5131d6be81207c1b3c248092eadb (diff) | |
download | qpid-python-a509a3c1b8f72dbdf696294945f1946d3995e436.tar.gz |
Revert $(dirname $0) changes, break distclean/rpm builds.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@564446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-x | cpp/src/tests/topictest | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/src/tests/topictest b/cpp/src/tests/topictest index e03c033f6d..21387ac3bd 100755 --- a/cpp/src/tests/topictest +++ b/cpp/src/tests/topictest @@ -9,11 +9,6 @@ SUBSCRIBERS=10 MESSAGES=2000 BATCHES=10 -# Setup path to publisher/subscriber -dir=$(dirname $0) -publisher=$dir/topic_publisher -subscriber=$dir/topic_listener - while getopts "s:m:b:" opt ; do case $opt in s) SUBSCRIBERS=$OPTARG ;; @@ -29,11 +24,11 @@ done subscribe() { echo Start subscriber $1 LOG="subscriber_$1.log" - $subscriber > $LOG 2>&1 && rm -f $LOG + ./topic_listener > $LOG 2>&1 && rm -f $LOG } publish() { - $publisher --messages $MESSAGES --batches $BATCHES --subscribers $SUBSCRIBERS + ./topic_publisher --messages $MESSAGES --batches $BATCHES --subscribers $SUBSCRIBERS } for ((i=$SUBSCRIBERS ; i--; )); do |