1 $ cp "$TESTDIR/need_tree_order.crush" .
2 $ crushtool -c need_tree_order.crush -o nto.compiled
3 $ crushtool -d nto.compiled -o nto.conf
4 $ crushtool -c nto.conf -o nto.recompiled
6 # as the input file is actually exactly what decompilation will spit
7 # back out, comments and all, and the compiled format is completely
8 # deterministic, we can compare the files to make sure everything
10 $ cmp need_tree_order.crush nto.conf
11 $ cmp nto.compiled nto.recompiled
13 $ crushtool -c "$TESTDIR/missing-bucket.crushmap.txt"
14 in rule 'rule-bad' item 'root-404' not defined