From: Sage Weil Date: Fri, 20 Nov 2015 15:17:37 +0000 (-0500) Subject: test/mon/osd-crush.sh: escape ceph tell mon.* X-Git-Tag: v10.0.1~26^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9aabc8a9b8d7775337716c4e0fa3cc53938acb45;p=ceph.git test/mon/osd-crush.sh: escape ceph tell mon.* Signed-off-by: Sage Weil --- diff --git a/src/test/mon/osd-crush.sh b/src/test/mon/osd-crush.sh index b7dbd230cb75..4dbbd0442d91 100755 --- a/src/test/mon/osd-crush.sh +++ b/src/test/mon/osd-crush.sh @@ -124,7 +124,7 @@ function TEST_crush_rule_create_erasure() { # it will prevent the creation of a pool. # local crushtool_path_old=`ceph-conf --show-config-value crushtool` - ceph tell mon.* injectargs --crushtool "false" + ceph tell mon.\* injectargs --crushtool "false" expect_failure $dir "Error EINVAL" \ ./ceph osd pool create mypool 1 1 erasure || return 1 @@ -257,7 +257,7 @@ function TEST_crush_repair_faulty_crushmap() { ./crushtool -c $empty_map.txt -o $empty_map.map || return 1 local crushtool_path_old=`ceph-conf --show-config-value crushtool` - ceph tell mon.* injectargs --crushtool "true" + ceph tell mon.\* injectargs --crushtool "true" ceph osd setcrushmap -i $empty_map.map || return 1 # should be an empty crush map without any buckets