diff options
Diffstat (limited to 'test/check.c')
| -rw-r--r-- | test/check.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/check.c b/test/check.c index 4db4b9e..4b9a093 100644 --- a/test/check.c +++ b/test/check.c @@ -142,19 +142,6 @@ static void test_scope_edges(void) expect_deny(&p, "bob", "web", LV_WRITE, "refs/heads/main", "but not on"); expect_deny(&p, "bob", "api", LV_WRITE, "refs/heads/dev", "no rule"); policy_free(&p); - - // reachable-by-nobody detection, which validate reports - rc = load_text(&p, "bob team write\n"); - CHECK_INT(rc, 0); - CHECK(authz_repo_reachable(&p, "team")); - CHECK(authz_repo_reachable(&p, "team.git")); - CHECK(!authz_repo_reachable(&p, "other")); - policy_free(&p); - - rc = load_text(&p, "bob * write\n"); - CHECK_INT(rc, 0); - CHECK(authz_repo_reachable(&p, "anything")); - policy_free(&p); } int main(void) |
