Skip to content

Commit

Permalink
ceph-authtool: fix cli tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Jul 28, 2013
1 parent 7b683f7 commit 74c1bec
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions src/test/cli/ceph-authtool/help.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,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
Expand Down
10 changes: 8 additions & 2 deletions src/test/cli/ceph-authtool/manpage.t
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 8 additions & 2 deletions src/test/cli/ceph-authtool/simple.t
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74c1bec

Please sign in to comment.