From b98eaa5cc004f6f5bff68bd81e5e20bc71549f2f Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 7 Feb 2014 12:10:47 +0100 Subject: [PATCH] osdmaptool: test --import/export-crush Signed-off-by: Loic Dachary --- src/test/cli/osdmaptool/crush.t | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/test/cli/osdmaptool/crush.t diff --git a/src/test/cli/osdmaptool/crush.t b/src/test/cli/osdmaptool/crush.t new file mode 100644 index 0000000000000..11993bf18512c --- /dev/null +++ b/src/test/cli/osdmaptool/crush.t @@ -0,0 +1,10 @@ + $ osdmaptool --createsimple 3 myosdmap + 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 485 byte crush map from oc + osdmaptool: writing epoch 3 to myosdmap -- 2.39.5