* Exec a git command. This may either create a child process (Windows) * or replace the existing process. * test-tool trace2 005exec * * For example: * test-tool trace2 005exec version * * Test harness can confirm (on Windows): * [] the "name" field in the "cmd_name" trace2 event. * [] that the outer process has a single component SID (or depth "d0" in * the PERF s
| 174 | * [] TODO talk about process replacement and how it affects SID. |
| 175 | */ |
| 176 | static int ut_005exec(int argc, const char **argv) |
| 177 | { |
| 178 | int result; |
| 179 | |
| 180 | if (!argc) |
| 181 | return 0; |
| 182 | |
| 183 | result = execv_git_cmd(argv); |
| 184 | return result; |
| 185 | } |
| 186 | |
| 187 | static int ut_006data(int argc, const char **argv) |
| 188 | { |
nothing calls this directly
no test coverage detected