From a34e5fe54f074a9a3f570e71cf30d4cda8b9ce41 Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Wed, 31 Aug 2016 11:17:15 -0300 Subject: Improves help function. --- service/test/reactor/concurrent_logins.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/test/reactor/concurrent_logins.sh') diff --git a/service/test/reactor/concurrent_logins.sh b/service/test/reactor/concurrent_logins.sh index b1197c13..e42b7c44 100755 --- a/service/test/reactor/concurrent_logins.sh +++ b/service/test/reactor/concurrent_logins.sh @@ -9,8 +9,11 @@ USERS=1 SLEEP=1 function show_help { + echo echo "Run several tests against login in the pixelated-user-agent vagrant machine" echo + echo "It saves the logs to service/test/login/metrics" + echo echo " --user|-u - array with amount of tests split by comma" echo " --runs|-r - how many times a tests is going to run" echo " --provider|-p - set the provider" @@ -70,6 +73,7 @@ done run_on_vagrant "pkill pixelated" run_on_vagrant "rm ~/MetricsTime" run_on_vagrant "mkdir -p /vagrant/service/test/login/metrics" +run_on_vagrant "sudo ln -s /home/vagrant/user-agent-venv/bin/pixelated-user-agent /usr/local/bin" for user in $(tr ',' ' ' <<< $USERS); do echo "> Run for $user user(s)" -- cgit v1.2.3