| 87 | } |
| 88 | |
| 89 | static bool gic_match(cbm_ignore_checked_t *owner, const cbm_ignore_program_t *program, |
| 90 | const char *path, bool directory, cbm_ignore_decision_t expected) { |
| 91 | cbm_ignore_checked_control_t control = gic_control(); |
| 92 | cbm_ignore_checked_error_t error; |
| 93 | cbm_ignore_decision_t decision = CBM_IGNORE_UNAVAILABLE; |
| 94 | cbm_ignore_checked_status_t status = cbm_ignore_checked_match( |
| 95 | owner, program, path, strlen(path), directory, &control, &decision, &error); |
| 96 | return gic_status(status, CBM_IGNORE_CHECKED_OK, &error) && decision == expected; |
| 97 | } |
| 98 | |
| 99 | static bool gic_usage_equal(const cbm_ignore_checked_usage_t *a, |
| 100 | const cbm_ignore_checked_usage_t *b) { |
no test coverage detected