diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-06-26 17:07:48 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-06-26 17:09:49 -0700 |
commit | ca55c3416e02398991c9789b1590d721fbca212d (patch) | |
tree | d089028c2e83483be9b7d98ae4b94b6ce22452b3 | |
parent | bfed2d60a59bf69863989ca3bc108079c1d37f4f (diff) | |
download | ceph-ca55c3416e02398991c9789b1590d721fbca212d.tar.gz |
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 <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
-rwxr-xr-x | qa/workunits/cephtool/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index bb096a99046..90fc271d8ee 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 |