| 15953 | } |
| 15954 | |
| 15955 | static bool git_available(void) { |
| 15956 | char cmd[128]; |
| 15957 | snprintf(cmd, sizeof(cmd), "git --version >%s 2>&1", test_null_dev()); |
| 15958 | int rc = system(cmd); |
| 15959 | return rc == 0; |
| 15960 | } |
| 15961 | |
| 15962 | static int run_cmd(const char *cmd) { |
| 15963 | return system(cmd); |
no test coverage detected