]>
Commit | Line | Data |
---|---|---|
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 | |
5 | ||
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 | |
9 | # worked | |
10 | $ cmp need_tree_order.crush nto.conf | |
11 | $ cmp nto.compiled nto.recompiled | |
12 | ||
13 | $ crushtool -c "$TESTDIR/missing-bucket.crushmap.txt" | |
14 | WARNING: min_size is no longer supported, ignoring | |
15 | WARNING: max_size is no longer supported, ignoring | |
16 | in rule 'rule-bad' item 'root-404' not defined | |
17 | [1] |