diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/cli/ceph-authtool/cap.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/cli/ceph-authtool/cap.t b/src/test/cli/ceph-authtool/cap.t new file mode 100644 index 000000000..b9748d9af --- /dev/null +++ b/src/test/cli/ceph-authtool/cap.t @@ -0,0 +1,11 @@ + $ ceph-authtool kring --create-keyring --gen-key --mode 0644 + creating kring + + $ ceph-authtool --cap osd 'allow rx pool=swimming' kring + $ ceph-authtool kring --list|grep -E '^[[:space:]]caps ' + \tcaps osd = "allow rx pool=swimming" (esc) + + $ cat kring + [client.admin] + \\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re) + \tcaps osd = "allow rx pool=swimming" (esc) |