]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-authtool: fix cli tests
authorSage Weil <sage@inktank.com>
Sun, 28 Jul 2013 22:29:49 +0000 (15:29 -0700)
committerSage Weil <sage@inktank.com>
Sun, 28 Jul 2013 22:29:49 +0000 (15:29 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/cli/ceph-authtool/help.t
src/test/cli/ceph-authtool/manpage.t
src/test/cli/ceph-authtool/simple.t

index 7434ec4a7c00d09c96ac29949b64e8ee8c726df5..062c967a1548ab77b9435d6160ee5f9deacfdea2 100644 (file)
                                   'mount -o secret=..' argument
     -C, --create-keyring          will create a new keyring, overwriting any
                                   existing keyringfile
-    --gen-key                     will generate a new secret key for the
+    -g, --gen-key                 will generate a new secret key for the
                                   specified entityname
-    --add-key                     will add an encoded key to the keyring
+    --gen-print-key               will generate a new secret key without set it
+                                  to the keyringfile, prints the secret to stdout
+    --import-keyring              will import the content of a given keyring
+                                  into the keyringfile
+    -u, --set-uid                 sets the auid (authenticated user id) for the
+                                  specified entityname
+    -a, --add-key                 will add an encoded key to the keyring
     --cap subsystem capability    will set the capability for given subsystem
     --caps capsfile               will set all of capabilities associated with a
                                   given key, for all subsystems
index 69e15fa51c3579848f158a448210486a4a85dc72..a9e1408d7163ed2146f91aa2711181e9405fc067 100644 (file)
@@ -9,9 +9,15 @@
                                   'mount -o secret=..' argument
     -C, --create-keyring          will create a new keyring, overwriting any
                                   existing keyringfile
-    --gen-key                     will generate a new secret key for the
+    -g, --gen-key                 will generate a new secret key for the
                                   specified entityname
-    --add-key                     will add an encoded key to the keyring
+    --gen-print-key               will generate a new secret key without set it
+                                  to the keyringfile, prints the secret to stdout
+    --import-keyring              will import the content of a given keyring
+                                  into the keyringfile
+    -u, --set-uid                 sets the auid (authenticated user id) for the
+                                  specified entityname
+    -a, --add-key                 will add an encoded key to the keyring
     --cap subsystem capability    will set the capability for given subsystem
     --caps capsfile               will set all of capabilities associated with a
                                   given key, for all subsystems
index 69d027c13421d90c68f077996c15b2974023f7c9..b86476a5ad0f5857714cf8336aac29ca07740a52 100644 (file)
@@ -9,9 +9,15 @@
                                   'mount -o secret=..' argument
     -C, --create-keyring          will create a new keyring, overwriting any
                                   existing keyringfile
-    --gen-key                     will generate a new secret key for the
+    -g, --gen-key                 will generate a new secret key for the
                                   specified entityname
-    --add-key                     will add an encoded key to the keyring
+    --gen-print-key               will generate a new secret key without set it
+                                  to the keyringfile, prints the secret to stdout
+    --import-keyring              will import the content of a given keyring
+                                  into the keyringfile
+    -u, --set-uid                 sets the auid (authenticated user id) for the
+                                  specified entityname
+    -a, --add-key                 will add an encoded key to the keyring
     --cap subsystem capability    will set the capability for given subsystem
     --caps capsfile               will set all of capabilities associated with a
                                   given key, for all subsystems