Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / crushtool / reweight.t
1   $ crushtool -c "$TESTDIR/multitype.before" -o mt > /dev/null
2   $ crushtool -i mt --reweight-item osd0 2.0 -o mt > /dev/null
3   $ crushtool -i mt --reweight-item osd3 2.0 -o mt > /dev/null
4   $ crushtool -i mt --reweight-item osd6 2.0 -o mt > /dev/null
5   $ crushtool -i mt --reweight-item osd7 .5 -o mt > /dev/null
6   $ crushtool -d mt -o final
7   $ diff final "$TESTDIR/multitype.after"
8   $ rm mt final