summaryrefslogtreecommitdiffstats
path: root/vstf/install.sh
diff options
context:
space:
mode:
authorYiting.Li <liyiting@huawei.com>2016-01-19 14:39:31 +0800
committerYiting.Li <liyiting@huawei.com>2016-01-19 14:39:31 +0800
commit5b4f794932cb9b28ec679e6dd88e6febb2a5db7b (patch)
treed7b2615275a93ef1c2c878a0732b687832267174 /vstf/install.sh
parent827a986f4abc404dc803380a25d5e9ade7448f67 (diff)
JIRA: BOTTLENECKS-29
add the performance test framework add the copyright on the code. Change-Id: I6ec9eefe65bf07c2dd6c636d1b90b64da303952e Signed-off-by: Yiting.Li <liyiting@huawei.com>
Diffstat (limited to 'vstf/install.sh')
-rwxr-xr-xvstf/install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/vstf/install.sh b/vstf/install.sh
index 2aae6f5d..10a46f4c 100755
--- a/vstf/install.sh
+++ b/vstf/install.sh
@@ -30,7 +30,11 @@ if [ $1 == "manager" ]; then
then
vstf-manager start
else
- vstf-manager start --monitor ${SERVER} --port ${PORT}
+ if [ "${PORT}x" == "x" ]; then
+ vstf-manager start --monitor ${SERVER}
+ else
+ vstf-manager start --monitor ${SERVER} --port ${PORT}
+ fi
fi
elif [ $1 == "agent" ];then
vstf-manager stop