]> git.proxmox.com Git - ceph.git/blame - ceph/src/test/cli/crushtool/compile-decompile-recompile.t
bump version to 12.2.5-pve1
[ceph.git] / ceph / src / test / cli / crushtool / compile-decompile-recompile.t
CommitLineData
7c673cae
FG
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 in rule 'rule-bad' item 'root-404' not defined
15 [1]