summaryrefslogtreecommitdiffstats
path: root/src/test/cli/osdmaptool/crush.t
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/cli/osdmaptool/crush.t')
-rw-r--r--src/test/cli/osdmaptool/crush.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/cli/osdmaptool/crush.t b/src/test/cli/osdmaptool/crush.t
new file mode 100644
index 00000000..1d15bf46
--- /dev/null
+++ b/src/test/cli/osdmaptool/crush.t
@@ -0,0 +1,10 @@
+ $ osdmaptool --createsimple 3 myosdmap --with-default-pool
+ osdmaptool: osdmap file 'myosdmap'
+ osdmaptool: writing epoch 1 to myosdmap
+ $ osdmaptool --export-crush oc myosdmap
+ osdmaptool: osdmap file 'myosdmap'
+ osdmaptool: exported crush map to oc
+ $ osdmaptool --import-crush oc myosdmap
+ osdmaptool: osdmap file 'myosdmap'
+ osdmaptool: imported 497 byte crush map from oc
+ osdmaptool: writing epoch 3 to myosdmap