summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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