]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: mon: moncap: add 'allow command foo with arg="bar.baz"' tests
authorJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 6 Aug 2013 20:52:51 +0000 (13:52 -0700)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 6 Aug 2013 21:01:48 +0000 (14:01 -0700)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/test/mon/moncap.cc

index 92d5750c9a99f17535139fcd259a5d339cde6c77..19f82f55ecf3ecf17c77f1e2c2ca90aa0a0e5d63 100644 (file)
@@ -51,6 +51,8 @@ const char *parse_good[] = {
   "allow service foo-foo r, allow service bar r",
   "allow service \" foo \" w, allow service bar r",
   "allow command abc with arg=foo arg2=bar, allow service foo r",
+  "allow command \"foo bar\" with arg=\"baz\"",
+  "allow command \"foo bar\" with arg=\"baz.xx\"",
   0
 };