]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/workunits/mon/caps.sh
update sources to v12.1.2
[ceph.git] / ceph / qa / workunits / mon / caps.sh
index f5aebbbb9f4624308cc3fcbb07ed9560dff58108..e00247d9c9bc76853dfc8f82f8de98b689d7ce9c 100755 (executable)
@@ -28,10 +28,10 @@ expect "ceph auth get-or-create client.bazar > $tmp.bazar.keyring" 0
 expect "ceph -k $tmp.bazar.keyring --user bazar mon_status" 13
 ceph auth del client.bazar
 
-c="'allow command \"auth list\", allow command mon_status'"
+c="'allow command \"auth ls\", allow command mon_status'"
 expect "ceph auth get-or-create client.foo mon $c > $tmp.foo.keyring" 0
 expect "ceph -k $tmp.foo.keyring --user foo mon_status" 0
-expect "ceph -k $tmp.foo.keyring --user foo auth list" 0
+expect "ceph -k $tmp.foo.keyring --user foo auth ls" 0
 expect "ceph -k $tmp.foo.keyring --user foo auth export" 13
 expect "ceph -k $tmp.foo.keyring --user foo auth del client.bazar" 13
 expect "ceph -k $tmp.foo.keyring --user foo osd dump" 13
@@ -42,7 +42,7 @@ ceph auth del client.foo
 c="'allow command service with prefix=list, allow command mon_status'"
 expect "ceph auth get-or-create client.bar mon $c > $tmp.bar.keyring" 0
 expect "ceph -k $tmp.bar.keyring --user bar mon_status" 0
-expect "ceph -k $tmp.bar.keyring --user bar auth list" 13
+expect "ceph -k $tmp.bar.keyring --user bar auth ls" 13
 expect "ceph -k $tmp.bar.keyring --user bar auth export" 13
 expect "ceph -k $tmp.bar.keyring --user bar auth del client.foo" 13
 expect "ceph -k $tmp.bar.keyring --user bar osd dump" 13
@@ -52,4 +52,4 @@ ceph auth del client.bar
 
 rm $tmp.bazar.keyring $tmp.foo.keyring $tmp.bar.keyring
 
-echo OK
\ No newline at end of file
+echo OK