]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephtool/test.sh: add case for auth add with no caps
authorDan Mick <dan.mick@inktank.com>
Thu, 27 Jun 2013 00:07:48 +0000 (17:07 -0700)
committerDan Mick <dan.mick@inktank.com>
Thu, 27 Jun 2013 00:09:49 +0000 (17:09 -0700)
Test case for failure in #5467.  Supplying new auth info overwrites.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
qa/workunits/cephtool/test.sh

index bb096a990466c1811684c2688bb82e444c4800c4..90fc271d8ee48b6abb330a6498cc59668d7fa87b 100755 (executable)
@@ -30,6 +30,8 @@ expect_false()
 #
 
 ceph auth add client.xx mon allow osd "allow *"
+ceph auth export client.xx >client.xx.keyring
+ceph auth add client.xx -i client.xx.keyring
 ceph auth list | grep client.xx
 ceph auth get client.xx | grep caps | grep mon
 ceph auth get client.xx | grep caps | grep osd