X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fceph-authtool%2Fcap-invalid.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fceph-authtool%2Fcap-invalid.t;h=6b4897cda39e9ce0a798e99a4607a4b4cd0b68b2;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/ceph-authtool/cap-invalid.t b/src/ceph/src/test/cli/ceph-authtool/cap-invalid.t new file mode 100644 index 0000000..6b4897c --- /dev/null +++ b/src/ceph/src/test/cli/ceph-authtool/cap-invalid.t @@ -0,0 +1,12 @@ + $ ceph-authtool kring --create-keyring --gen-key + 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)