Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / ceph-authtool / cap-invalid.t
1   $ ceph-authtool kring --create-keyring --gen-key
2   creating kring
3
4 # TODO is this nice?
5   $ ceph-authtool --cap osd 'broken' kring
6   $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
7   \tcaps osd = "broken" (esc)
8
9 # TODO is this nice?
10   $ ceph-authtool --cap xyzzy 'broken' kring
11   $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
12   \tcaps xyzzy = "broken" (esc)