Fall back to our own codereview settings if a key is not found in gcl's settings.
Otherwise, git try breaks for some users.
Also, make testUpdateCheckout pass if the path to the temp directory contains a symlink (like on Mac OS X).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3620011
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@61786 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py
index 43152db..a075d86 100755
--- a/tests/gclient_scm_test.py
+++ b/tests/gclient_scm_test.py
@@ -731,7 +731,7 @@
'________ running \'git clone -b master --verbose %s %s\' in \'%s\'\n'
'Initialized empty Git repository in %s\n') %
(join(self.root_dir, '.', '.git'), join(root_dir, 'foo'), root_dir,
- join(root_dir, 'foo', '.git') + '/'))
+ join(gclient_scm.os.path.realpath(root_dir), 'foo', '.git') + '/'))
def testUpdateUpdate(self):
if not self.enabled: