From: Dan Mick Date: Thu, 27 Jun 2013 00:07:48 +0000 (-0700) Subject: cephtool/test.sh: add case for auth add with no caps X-Git-Tag: v0.66~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca55c3416e02398991c9789b1590d721fbca212d;p=ceph.git cephtool/test.sh: add case for auth add with no caps Test case for failure in #5467. Supplying new auth info overwrites. Signed-off-by: Dan Mick Reviewed-by: Sage Weil --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index bb096a990466..90fc271d8ee4 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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