summaryrefslogtreecommitdiffstats
path: root/vstf/install.sh
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2016-01-19 06:49:41 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-19 06:49:41 +0000
commit830b8c8c9f158fad8f9b1fc0977ae6deee3e9bed (patch)
tree6b6403f87c494ce2592228560f4078c8d3763ba5 /vstf/install.sh
parent61b37f3955ba7abb168fc5bab53a336a20579286 (diff)
parent5b4f794932cb9b28ec679e6dd88e6febb2a5db7b (diff)
Merge " JIRA: BOTTLENECKS-29 add the performance test framework"
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