Removing hardcode of config file path

This commit is contained in:
Prasanna Santhanam 2012-07-02 09:55:07 +05:30
parent 618d2541c8
commit d05dcad38b
2 changed files with 5 additions and 2 deletions

View File

@ -109,7 +109,7 @@
<target name="run-simulator-tests">
<exec dir="test/" executable="bash">
<arg line="setup.sh -t integration/smoke-simulator/ -d localhost -m localhost" />
<arg line="setup.sh -t integration/smoke-simulator/ -c integration/smoke-simulator/simulator-smoke.cfg -d localhost -m localhost" />
</exec>
</target>
<!-- -->

View File

@ -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
;;