Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: run_remote_tests.sh

Issue 5821001: run_remote_tests.sh: pass multiple arguments to autoserv (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: Fix how args are passed to chroot Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: run_remote_tests.sh
diff --git a/run_remote_tests.sh b/run_remote_tests.sh
index 2a54456f738c0acdbd807a1b0afa76911ff2d05b..9cb131817297301766619d05a3f71f74b5306d37 100755
--- a/run_remote_tests.sh
+++ b/run_remote_tests.sh
@@ -268,7 +268,7 @@ function main() {
local autoserv_args="-m ${FLAGS_remote} --ssh-port ${FLAGS_ssh_port} \
${option} ${control_file} -r ${results_dir} ${verbose}"
if [ -n "${FLAGS_args}" ]; then
- autoserv_args="${autoserv_args} -a \"${FLAGS_args}\""
+ autoserv_args="${autoserv_args} --args=${FLAGS_args}"
fi
sudo chmod a+w ./server/{tests,site_tests}
@@ -291,5 +291,5 @@ function main() {
print_time_elapsed
}
-restart_in_chroot_if_needed $*
+restart_in_chroot_if_needed "$@"
main "$@"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698