summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2016-02-02 19:24:07 +0530
committerRaghavendra Talur <rtalur@redhat.com>2016-02-04 00:57:58 -0800
commitcf914bbf07e329001fd5a844ef9c2c25d17ed131 (patch)
tree5bb2289ddc1870726c76d618ba2bf29d391cc1d7 /run-tests.sh
parente07fdc4b6d8936089a9ec08aa61f450126b43787 (diff)
tests: always use $@ and in quotes
Change-Id: I318d8b0ea60937f74b3280fa2ad26876ce8c3345 BUG: 1251592 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/13336 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.sh b/run-tests.sh
index aaaa1fa..042b3fa 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -294,7 +294,7 @@ function main_and_retry()
}
function parse_args () {
- args=`getopt fr $*`
+ args=`getopt fr "$@"`
set -- $args
while [ $# -gt 0 ]; do
case "$1" in
@@ -313,7 +313,7 @@ echo ... GlusterFS Test Framework ...
echo
# Get user options
-parse_args $@
+parse_args "$@"
# Make sure we're running as the root user
check_user