]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: ceph-authtool, add test for empty "--add-key=" 9704/head
authorBrad Hubbard <bhubbard@redhat.com>
Sun, 19 Jun 2016 07:23:10 +0000 (17:23 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 5 Jul 2016 05:35:08 +0000 (15:35 +1000)
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/test/cli/ceph-authtool/add-key.t

index 2bfcce0b12db3c1d2f28c7db43348d690cc87f93..d24efc144d544832b5ad8a6df032b5897fda3616 100644 (file)
@@ -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]