Index: tests/fake_repos.py |
diff --git a/tests/fake_repos.py b/tests/fake_repos.py |
index 981bd91962a7110c31a64ddfde9109648d54649a..51eacfd695dcca02baa1521778f0a725d489c64e 100755 |
--- a/tests/fake_repos.py |
+++ b/tests/fake_repos.py |
@@ -361,8 +361,10 @@ deps_os = { |
fs = file_system(2, """ |
deps = { |
'src/other': 'svn://%(host)s/svn/trunk/other', |
- 'src/third_party/foo': From('src/other', 'foo/bar'), |
- 'src/file/foo': File('svn://%(host)s/svn/trunk/third_party/foo/origin'), |
+ # Load another DEPS and load a dependency from it. That's an example of |
+ # WebKit's chromium checkout flow. Verify it works out of order. |
+ 'src/third_party/foo': From('src/file/other', 'foo/bar'), |
+ 'src/file/other': File('svn://%(host)s/svn/trunk/other/DEPS'), |
} |
# I think this is wrong to have the hooks run from the base of the gclient |
# checkout. It's maybe a bit too late to change that behavior. |
@@ -383,6 +385,8 @@ hooks = [ |
fs['trunk/other/DEPS'] = """ |
deps = { |
'foo/bar': '/trunk/third_party/foo@1', |
+ # Only the requested deps should be processed. |
+ 'invalid': '/does_not_exist', |
} |
""" |
self._commit_svn(fs) |