git-repo/tests
Josh Steadmon 244c9a71a6 trace: allow writing traces to a socket
Git can write trace2 events to a Unix domain socket [1]. This can be
specified via Git's `trace2.eventTarget` config option, which we read to
determine where to log our own trace2 events. Currently, if the Git
config specifies a socket as the trace2 target, we fail to log any
traces.

Fix this by adding support for writing to a Unix domain socket,
following the same specification that Git supports.

[1]: https://git-scm.com/docs/api-trace2#_enabling_a_target

Change-Id: I928bc22ba04fba603a9132eb055141845fa48ab2
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/332339
Reviewed-by: Raman Tenneti <rtenneti@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Josh Steadmon <steadmon@google.com>
2022-03-16 17:33:07 +00:00
..
fixtures git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
test_editor.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
test_error.py error: fix pickling of all exceptions 2021-02-19 20:06:03 +00:00
test_git_command.py ssh: move all ssh logic to a common place 2021-05-06 19:09:16 +00:00
test_git_config.py git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
test_git_superproject.py superproject: support a new revision attribute. 2021-09-27 06:36:05 +00:00
test_git_trace2_event_log.py trace: allow writing traces to a socket 2022-03-16 17:33:07 +00:00
test_hooks.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
test_manifest_xml.py Add 'dest-path' to extend-project to support changing path 2021-09-28 20:12:00 +00:00
test_platform_utils.py make file removal a bit more robust 2021-09-28 16:06:50 +00:00
test_project.py test_project: use os.readlink instead of Path.readlink 2022-01-11 20:16:42 +00:00
test_ssh.py ssh: rewrite proxy management for multiprocessing usage 2021-05-10 21:16:06 +00:00
test_subcmds_init.py tests: fix init subcmd after url change 2021-02-25 17:07:11 +00:00
test_subcmds.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
test_wrapper.py tests: fix duplicate method from copy & paste error 2021-03-04 16:17:11 +00:00