From d05dcad38becd2b3b8f0c157c232b6bdd56b3c7b Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Mon, 2 Jul 2012 09:55:07 +0530 Subject: [PATCH] Removing hardcode of config file path --- build/build-tests.xml | 2 +- test/setup.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/build-tests.xml b/build/build-tests.xml index e78d30b404a..4e31fda8b48 100755 --- a/build/build-tests.xml +++ b/build/build-tests.xml @@ -109,7 +109,7 @@ - + diff --git a/test/setup.sh b/test/setup.sh index 866d8c693bb..623fc7631c5 100755 --- a/test/setup.sh +++ b/test/setup.sh @@ -19,7 +19,7 @@ TESTDIR="/root/cloudstack-oss/test/integration/smoke-simulator/" CONFIG="/root/cloudstack-oss/test/integration/smoke-simulator/simulator-smoke.cfg" DB_SVR="localhost" -while getopts 't:d:m:' OPTION +while getopts 't:d:m:c:' OPTION do case $OPTION in d) dflag=1 @@ -31,6 +31,9 @@ do m) mflag=1 MGMT_SVR="$OPTARG" ;; + c) cflag=1 + CONFIG="$OPTARG" + ;; ?) usage failed 2 ;;