From efe55deaf64fede11c56ac79207b875eef136974 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 6 Oct 2013 22:33:05 +0100 Subject: Test that "gitano ls" shows the created repository --- git.liw.fi.yarn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 ------------------ -- cgit v1.2.1