]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/cli/crushtool/adjust-item-weight.t
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / cli / crushtool / adjust-item-weight.t
index 16d7135ca6cb7c8b9d94338249645cf04057b1d8..a6f2161b9e6e07fc13f9c894c4dc2022391a7cfb 100644 (file)
@@ -6,7 +6,7 @@
 
   $ crushtool -i one --add-item 0 2.0 device0 --loc host fake --loc cluster cluster0 -o two > /dev/null
   $ crushtool -d two -o final
-  $ cmp final "$TESTDIR/simple.template.adj.two"
+  $ diff final "$TESTDIR/simple.template.adj.two"
 
 #
 # update the weight of device0 in host=host0, it will not affect the weight of device0 in host=fake
@@ -14,4 +14,4 @@
 
   $ crushtool -i two --update-item 0 3.0 device0 --loc host host0 --loc cluster cluster0 -o three > /dev/null
   $ crushtool -d three -o final
-  $ cmp final "$TESTDIR/simple.template.adj.three"
+  $ diff final "$TESTDIR/simple.template.adj.three"