| 2345 | } |
| 2346 | |
| 2347 | static bool impact_test_write(const char *root, const char *file, const char *value) { |
| 2348 | char path[1024]; |
| 2349 | snprintf(path, sizeof(path), "%s/%s", root, file); |
| 2350 | FILE *fp = cbm_fopen(path, "wb"); |
| 2351 | if (!fp) |
| 2352 | return false; |
| 2353 | fputs(value, fp); |
| 2354 | return fclose(fp) == 0; |
| 2355 | } |
| 2356 | |
| 2357 | static bool atlas_history_test_repo(const char *root, const char *subject, const char *remote) { |
| 2358 | const char *init[] = {"init", "-q", NULL}; |
no test coverage detected