]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/mon/osd-crush.sh: escape ceph tell mon.*
authorSage Weil <sage@redhat.com>
Fri, 20 Nov 2015 15:17:37 +0000 (10:17 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Nov 2015 13:38:52 +0000 (08:38 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/mon/osd-crush.sh

index b7dbd230cb755cdcd3ca49767b8f868a3e59c66f..4dbbd0442d919c664d61d4e53123c19cfb1f9851 100755 (executable)
@@ -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