diff options
Diffstat (limited to 'git.liw.fi.yarn')
-rw-r--r-- | git.liw.fi.yarn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/git.liw.fi.yarn b/git.liw.fi.yarn index 1e009fb..5c662ee 100644 --- a/git.liw.fi.yarn +++ b/git.liw.fi.yarn @@ -85,6 +85,7 @@ be able to remove the repository. AND admin can clone tstrepo using ssh AND tstusr can see repository tstrepo AND tstusr can clone tstrepo using ssh + AND cgit shows repository tstrepo WHEN tstusr attempts to remove repository tstrepo THEN attempt failed with error matching "You may not destroy repositories you do not own" @@ -95,6 +96,7 @@ be able to remove the repository. AND admin can't clone tstrepo using ssh AND tstusr can't see repository tstrepo AND tstusr can't clone tstrepo using ssh + AND cgit doesn't show repository tstrepo FINALLY remove repository tstrepo on server AND remove user tstusr on server @@ -299,3 +301,19 @@ can try. IMPLEMENTS WHEN (\S+) attempts to remove repository (\S+) attempt destroy_repo "$MATCH_1" "$MATCH_2" + +Cgit access +----------- + +Verify that cgit shows a repository. + + IMPLEMENTS THEN cgit shows repository (\S+) + cgit_shows "$MATCH_1" + +Verify cgit doesn't show a repository. + + IMPLEMENTS THEN cgit doesn't show repository (\S+) + if cgit_shows "$MATCH_1" + then + die "cgi shows $MATCH_1 but shouldn't" + fi |