diff options
-rw-r--r-- | testing/02-commands-ls.yarn | 20 |
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 |