initial code repo
[stor4nfv.git] / src / ceph / src / test / cli / ceph-authtool / create-gen-list-bin.t
diff --git a/src/ceph/src/test/cli/ceph-authtool/create-gen-list-bin.t b/src/ceph/src/test/cli/ceph-authtool/create-gen-list-bin.t
new file mode 100644 (file)
index 0000000..bfd2a43
--- /dev/null
@@ -0,0 +1,17 @@
+  $ ceph-authtool kring --create-keyring
+  creating kring
+
+  $ ceph-authtool kring --list
+
+  $ ceph-authtool kring --gen-key
+
+# cram makes matching escape-containing lines with regexps a bit ugly
+  $ ceph-authtool kring --list
+  [client.admin]
+  \\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
+
+# synonym
+  $ ceph-authtool kring -l
+  [client.admin]
+  \\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
+