I'm not really sure why this test expected EPERM before when it expects 0
a bit earlier, but it should certainly expect EPERM after the user is
deleted.
Signed-off-by: Sage Weil <sage@redhat.com>
expect "ceph -k $tmp.foo.keyring --user foo pg dump" $ETIMEDOUT
export CEPH_ARGS=''
-expect "ceph -k $tmp.foo.keyring --user foo quorum_status" 13
ceph auth del client.foo
+expect "ceph -k $tmp.foo.keyring --user foo quorum_status" 13
c="'allow command service with prefix=list, allow command quorum_status'"
expect "ceph auth get-or-create client.bar mon $c > $tmp.bar.keyring" 0
expect "ceph -k $tmp.bar.keyring --user bar pg dump" $ETIMEDOUT
export CEPH_ARGS=''
-expect "ceph -k $tmp.bar.keyring --user bar quorum_status" 13
ceph auth del client.bar
+expect "ceph -k $tmp.bar.keyring --user bar quorum_status" 13
rm $tmp.bazar.keyring $tmp.foo.keyring $tmp.bar.keyring