Index: bin/cros_run_wifi_tests.sh |
diff --git a/bin/cros_run_wifi_tests.sh b/bin/cros_run_wifi_tests.sh |
index c11f3134ee1e1f447bb11a9748e4984becc6dd42..f948a4ef4ca5d4b2ec345c59fcdab28d3e3f9bcc 100755 |
--- a/bin/cros_run_wifi_tests.sh |
+++ b/bin/cros_run_wifi_tests.sh |
@@ -63,7 +63,7 @@ append_flag () { |
append_arg () { |
local delim='' |
- [ -n "${run_remote_args}" ] && delim=',' |
+ [ -n "${run_remote_args}" ] && delim=' ' |
run_remote_args="${run_remote_args}${delim}$*" |
} |
@@ -145,5 +145,6 @@ for arg in $*; do |
append_arg $arg |
done |
-eval "exec "${script_root}/run_remote_tests.sh" \ |
- -a "${run_remote_args}" --remote=${remote} $run_remote_flags $FLAGS_ARGV" |
+eval "exec ${script_root}/run_remote_tests.sh \ |
+ --args=\"${run_remote_args}\" --remote=${remote} $run_remote_flags \ |
+ $FLAGS_ARGV" |