mirror of https://github.com/apache/cloudstack.git
Removing hardcode of config file path
This commit is contained in:
parent
618d2541c8
commit
d05dcad38b
|
|
@ -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>
|
||||
<!-- -->
|
||||
|
|
|
|||
|
|
@ -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
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue