From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/test/cli/ceph-authtool/cap.t | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/test/cli/ceph-authtool/cap.t (limited to 'src/test/cli/ceph-authtool/cap.t') diff --git a/src/test/cli/ceph-authtool/cap.t b/src/test/cli/ceph-authtool/cap.t new file mode 100644 index 00000000..b9748d9a --- /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) -- cgit v1.2.3