From 19984d729f849cc2b59080c7af618403bff0afe3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 21 Oct 2019 21:34:12 -0500 Subject: [PATCH] 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 --- qa/workunits/mon/caps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/mon/caps.sh b/qa/workunits/mon/caps.sh index 5ccbcf036bec6..eae5d866534f5 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 -- 2.39.5