git-repo/tests
Mike Frysinger 04122b7261 manifest: add basic path checks for <copyfile> & <linkfile>
Reject paths in <copyfile> & <linkfile> that point outside of their
respective scopes.  This validates paths while parsing the manifest
as this should be quick & cheap: we don't access the filesystem as
this code runs before we've synced.

Bug: https://crbug.com/gerrit/11218
Change-Id: I8e17bb91f3f5b905a9d76391b29fbab4cb77aa58
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/232932
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Michael Mortensen <mmortensen@google.com>
2020-02-04 20:34:01 +00:00
..
fixtures run_tests: add a helper for invoking unittests 2019-07-11 04:34:08 +00:00
test_editor.py upload/editor: fix bytes/string confusion 2019-11-16 23:55:30 +00:00
test_git_command.py git_command: set GIT_HTTP_USER_AGENT on all requests 2019-10-01 05:47:17 +00:00
test_git_config.py tests: add docstrings & print_function (for Python 3) 2019-08-01 03:03:48 +00:00
test_manifest_xml.py manifest: add basic path checks for <copyfile> & <linkfile> 2020-02-04 20:34:01 +00:00
test_project.py prune: handle branches that track missing branches 2019-11-16 19:55:02 +00:00
test_wrapper.py tests: add docstrings & print_function (for Python 3) 2019-08-01 03:03:48 +00:00