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 Jun 19, 2016
1 parent d303795 commit f567e17
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

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

0 comments on commit f567e17

Please sign in to comment.