From: Sage Weil Date: Tue, 22 Oct 2019 02:34:12 +0000 (-0500) Subject: qa/workunits/mon/caps.sh: fix test X-Git-Tag: v15.1.0~1178^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=19984d729f849cc2b59080c7af618403bff0afe3;p=ceph.git qa/workunits/mon/caps.sh: fix test 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 --- diff --git a/qa/workunits/mon/caps.sh b/qa/workunits/mon/caps.sh index 5ccbcf036bec..eae5d866534f 100755 --- a/qa/workunits/mon/caps.sh +++ b/qa/workunits/mon/caps.sh @@ -54,8 +54,8 @@ export CEPH_ARGS='--rados-mon-op-timeout=300' 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 @@ -70,8 +70,8 @@ export CEPH_ARGS='--rados-mon-op-timeout=300' 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