X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fcrushtool%2Fadjust-item-weight.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fcrushtool%2Fadjust-item-weight.t;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=16d7135ca6cb7c8b9d94338249645cf04057b1d8;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/crushtool/adjust-item-weight.t b/src/ceph/src/test/cli/crushtool/adjust-item-weight.t deleted file mode 100644 index 16d7135..0000000 --- a/src/ceph/src/test/cli/crushtool/adjust-item-weight.t +++ /dev/null @@ -1,17 +0,0 @@ - $ crushtool -i "$TESTDIR/simple.template" --add-item 0 1.0 device0 --loc host host0 --loc cluster cluster0 -o one > /dev/null - -# -# add device0 into host=fake, the weight of device0 in host=host0 is 1.0, the weight of device0 in host=fake is 2.0 -# - - $ 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" - -# -# update the weight of device0 in host=host0, it will not affect the weight of device0 in host=fake -# - - $ 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"