summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-07-19 16:48:28 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-07-19 16:48:28 +0100
commit5c7879afe5fa2d039ee69350c2e2f0fdc0723fee (patch)
tree36861c1f10c07efc542d1b38b35b1c8074da699b
parent1add5790ea679f2a88616bc5f4b3677d0d5305f6 (diff)
downloadgitano-5c7879afe5fa2d039ee69350c2e2f0fdc0723fee.tar.gz
Initial scenario for ls
-rw-r--r--testing/02-commands-ls.yarn20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/02-commands-ls.yarn b/testing/02-commands-ls.yarn
index f282cb0..8ead9da 100644
--- a/testing/02-commands-ls.yarn
+++ b/testing/02-commands-ls.yarn
@@ -1 +1,21 @@
<!-- -*- markdown -*- -->
+
+`ls [--verbose|-v] [<pattern>...]`
+==================================
+
+The `ls` command is one of the few which touch every repository in a Gitano
+instance. As such, it can take a while to run. Theoretically it leaks the
+number of Git repositories on the server by virtue of analysis of timing.
+
+Basic operation
+===============
+
+Firstly, we verify the basic operation of ls, that as a gitano-admin we have
+read access (at least) to everything and as such we can list all the
+repositories.
+
+ SCENARIO Basic operation of ls
+ GIVEN a standard instance
+ WHEN testinstance adminkey runs ls
+ THEN stdout contains RW gitano-admin
+ AND stderr is empty