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

Unified Diff: tests/gclient_scm_test.py

Issue 12300002: Make gclient_scm_test pass even if no global user name or email is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_scm_test.py
diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py
index 85a4a6a68e4caa2c76874b5b337803228153aec2..229254264596b8d32b48930a4f238baa59cc84ca 100755
--- a/tests/gclient_scm_test.py
+++ b/tests/gclient_scm_test.py
@@ -750,6 +750,10 @@ from :3
stdout=PIPE, stderr=STDOUT, cwd=path).communicate()
Popen(['git', 'config', '--unset', 'remote.origin.fetch'], stdout=PIPE,
stderr=STDOUT, cwd=path).communicate()
+ Popen(['git', 'config', 'user.email', 'someuser@chromium.org'], stdout=PIPE,
+ stderr=STDOUT, cwd=path).communicate()
+ Popen(['git', 'config', 'user.name', 'Some User'], stdout=PIPE,
+ stderr=STDOUT, cwd=path).communicate()
return True
def setUp(self):
« 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