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

Unified Diff: src/scripts/run_remote_tests.sh

Issue 560005: Make run_remote_test's use of ssh-agent more predictable. (Closed)
Patch Set: addressed style comments Created 10 years, 11 months 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 | « src/scripts/remote_access.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/run_remote_tests.sh
diff --git a/src/scripts/run_remote_tests.sh b/src/scripts/run_remote_tests.sh
index b50ef068371ce57a32e66bf56c69658cc0c23093..1630b9d2c99f2b271ec12cdda7b2f93306ad1eb8 100755
--- a/src/scripts/run_remote_tests.sh
+++ b/src/scripts/run_remote_tests.sh
@@ -29,11 +29,7 @@ function cleanup() {
else
echo "Left temporary files at ${TMP}"
fi
- if [[ -n "${SSH_AGENT_PID}" ]]
- then
- kill ${SSH_AGENT_PID} 2>/dev/null
- unset SSH_AGENT_PID SSH_AUTH_SOCK
- fi
+ cleanup_remote_access
}
# Returns an error if the test_result_file has text which indicates
« no previous file with comments | « src/scripts/remote_access.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698