From: Sage Weil Date: Wed, 10 Apr 2019 21:44:38 +0000 (-0500) Subject: qa/standalone/osd/osd-markdown: fix dup command disabling X-Git-Tag: v15.1.0~2952^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27499%2Fhead;p=ceph.git qa/standalone/osd/osd-markdown: fix dup command disabling The ceph cli tool checks for the presence of the variable, not its value. Fixes: http://tracker.ceph.com/issues/38359 Signed-off-by: Sage Weil --- diff --git a/qa/standalone/osd/osd-markdown.sh b/qa/standalone/osd/osd-markdown.sh index 4c4fd767f65ab..6dc1f883b4e26 100755 --- a/qa/standalone/osd/osd-markdown.sh +++ b/qa/standalone/osd/osd-markdown.sh @@ -48,7 +48,7 @@ function markdown_N_impl() { # override any dup setting in the environment to ensure we do this # exactly once (modulo messenger failures, at least; we can't *actually* # provide exactly-once semantics for mon commands). - CEPH_CLI_TEST_DUP_COMMAND=0 ceph osd down 0 + ( unset CEPH_CLI_TEST_DUP_COMMAND ; ceph osd down 0 ) sleep $sleeptime done }