Skip to content

Commit

Permalink
tests: ceph-authtool, add test for empty "--add-key="
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
  • Loading branch information
badone committed Jul 5, 2016
1 parent 00c2489 commit d15ad96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/cli/ceph-authtool/add-key.t
Expand Up @@ -12,3 +12,9 @@
$ cat kring
[client.admin]
\tkey = AQAK7yxNeF+nHBAA0SgSdbs8IkJrxroDeJ6SwQ== (esc)

Test --add-key with empty argument

$ ceph-authtool kring -C --name=mon.* --add-key= --cap mon 'allow *'
Option --add-key requires an argument
[1]

0 comments on commit d15ad96

Please sign in to comment.