| 2739 | } |
| 2740 | |
| 2741 | static bool git_available(void) { |
| 2742 | char cmd[128]; |
| 2743 | snprintf(cmd, sizeof(cmd), "git --version >%s 2>&1", test_null_dev()); |
| 2744 | int rc = system(cmd); |
| 2745 | return rc == 0; |
| 2746 | } |
| 2747 | |
| 2748 | static int run_cmd(const char *cmd) { |
| 2749 | return system(cmd); |
no test coverage detected