| 2401 | } |
| 2402 | |
| 2403 | static bool policy_matches(const cbm_test_policy_t *policy, const char *path, const char *id) { |
| 2404 | const cbm_test_rule_t *rule = NULL; |
| 2405 | if (!cbm_test_policy_match_path(policy, path, &rule)) |
| 2406 | return false; |
| 2407 | return id ? rule && strcmp(rule->id, id) == 0 : rule == NULL; |
| 2408 | } |
| 2409 | |
| 2410 | TEST(test_policy_retains_exact_snapshot_and_owns_result) { |
| 2411 | char dir[512], path[600]; |
no test coverage detected