summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-10-06 22:33:05 +0100
committerLars Wirzenius <liw@liw.fi>2013-10-06 22:33:05 +0100
commitefe55deaf64fede11c56ac79207b875eef136974 (patch)
treeef1d5d4bb8a73fec2e87b6e95f2712fa8846d479
parentac3a471456954372fd1215583479aaaf7dc0a4f6 (diff)
downloadliw-gitano-acl-test-suite-efe55deaf64fede11c56ac79207b875eef136974.tar.gz
Test that "gitano ls" shows the created repository
-rw-r--r--git.liw.fi.yarn12
1 files changed, 11 insertions, 1 deletions
diff --git a/git.liw.fi.yarn b/git.liw.fi.yarn
index 1185597..7ce5e13 100644
--- a/git.liw.fi.yarn
+++ b/git.liw.fi.yarn
@@ -77,8 +77,10 @@ be able to remove the repository.
WHEN admin creates user tstusr
AND admin creates repository tstrepo
- THEN admin can clone tstrepo using git
+ THEN admin can see repository tstrepo
+ AND admin can clone tstrepo using git
AND admin can clone tstrepo using ssh
+ AND tstusr can see repository tstrepo
AND tstusr can clone tstrepo using ssh
WHEN tstusr attempts to remove repository tstrepo
@@ -208,6 +210,14 @@ Repositories can only be created by the admin.
IMPLEMENTS WHEN admin creates repository (\S+)
run_gitano_as admin create "$MATCH_1"
+Repository listing
+------------------
+
+ IMPLEMENTS THEN (\S+) can see repository (\S+)
+ run_gitano_as "$MATCH_1" ls |
+ awk -v "r=$MATCH_2" '$NF == r' |
+ grep .
+
Repository cloning
------------------