summaryrefslogtreecommitdiffstats
path: root/src/test/cli/ceph-authtool/cap-invalid.t
blob: d72f34fed660300beecedc6c09a4489909aa53eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
  $ ceph-authtool kring --create-keyring --gen-key --mode 0644
  creating kring

# TODO is this nice?
  $ ceph-authtool --cap osd 'broken' kring
  $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
  \tcaps osd = "broken" (esc)

# TODO is this nice?
  $ ceph-authtool --cap xyzzy 'broken' kring
  $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
  \tcaps xyzzy = "broken" (esc)