From 866079825cb24abc349bd3aecac23e455b0fd898 Mon Sep 17 00:00:00 2001 From: Ryan Bak Date: Sun, 1 Jun 2014 12:26:35 -0600 Subject: [PATCH] Fixed argument parsing in run script Replaced += with = when adding arguments to the testrargs string to prevent the script from doubling in length with each additional argument. Change-Id: If0ab41d6062c83cee50f830ffd9428c1302fd997 Closes-Bug: #1325405 --- run_tempest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tempest.sh b/run_tempest.sh index bdd1f69005..5a9b7425dd 100755 --- a/run_tempest.sh +++ b/run_tempest.sh @@ -58,7 +58,7 @@ while [ $# -gt 0 ]; do -l|--logging) logging=1;; -L|--logging-config) logging_config=$2; shift;; --) [ "yes" == "$first_uu" ] || testrargs="$testrargs $1"; first_uu=no ;; - *) testrargs+="$testrargs $1";; + *) testrargs="$testrargs $1";; esac shift done