diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-07-19 16:48:28 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-07-19 16:48:28 +0100 |
commit | 5c7879afe5fa2d039ee69350c2e2f0fdc0723fee (patch) | |
tree | 36861c1f10c07efc542d1b38b35b1c8074da699b | |
parent | 1add5790ea679f2a88616bc5f4b3677d0d5305f6 (diff) | |
download | gitano-5c7879afe5fa2d039ee69350c2e2f0fdc0723fee.tar.gz |
Initial scenario for ls
-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 |