summaryrefslogtreecommitdiffstats
path: root/vstf/install.sh
diff options
context:
space:
mode:
authorYiting.Li <liyiting@huawei.com>2016-01-19 14:39:31 +0800
committerJun Li <matthew.lijun@huawei.com>2016-01-20 01:23:27 +0000
commit6d9521fff519412e66d585d8f980824414a218eb (patch)
tree6b6403f87c494ce2592228560f4078c8d3763ba5 /vstf/install.sh
parent9bd22008562f748f82a3053f53a969027876a852 (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> (cherry picked from commit 5b4f794932cb9b28ec679e6dd88e6febb2a5db7b)
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