From 4e91655b1684d4865bc4be2e39c0b571a74cf20e Mon Sep 17 00:00:00 2001 From: Christos KK Loverdos Date: Mon, 11 Jun 2012 11:52:49 +0300 Subject: [PATCH] Remove obsolete test script We will provide some other means of testing aquarium. For example, we already have the /ping URL served by aquarium's REST/HTTP subsystem. --- scripts/test.sh | 63 ------------------------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 scripts/test.sh diff --git a/scripts/test.sh b/scripts/test.sh deleted file mode 100644 index d12ef0a..0000000 --- a/scripts/test.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env bash -# -# Test an Aquarium installation by issuing messages to various exchanges -# -# WARNING: DO NOT RUN ON PRODUCTION SYSTEMS. THIS WILL AFFECT DATABASE -# CONSISTENCY - -# Copyright 2012 GRNET S.A. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# The views and conclusions contained in the software and documentation are -# those of the authors and should not be interpreted as representing official -# policies, either expressed or implied, of GRNET S.A. - -# resolve links - $0 may be a softlink -PRG="$0" - -while [ -h "$PRG" ]; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`/"$link" - fi -done - -# Get standard environment variables -PRGDIR=`dirname "$PRG"` - -# Only set supported environment variables if not already set -[ -z "$AQUARIUM_HOME" ] && AQUARIUM_HOME=`cd "$PRGDIR/.." >/dev/null; pwd` - -CONF=$AQUARIUM_HOME/conf -CLASSPATH=$CONF:`find $LIB -type f|grep jar$|tr '\n' ':'|sed -e 's/\:$//'` - -TESTMAIN=gr.grnet.aquarium.util.RandomEventGen -echo CLASSPATH=$CLASSPATH - -java -cp $CONF:$CLASSPATH $TESTMAIN "$@" - -- 1.7.10.4