summaryrefslogtreecommitdiffstats
path: root/src/test/cli/crushtool/device-class.t
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/cli/crushtool/device-class.t')
-rw-r--r--src/test/cli/crushtool/device-class.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/cli/crushtool/device-class.t b/src/test/cli/crushtool/device-class.t
new file mode 100644
index 00000000..9dcf95e1
--- /dev/null
+++ b/src/test/cli/crushtool/device-class.t
@@ -0,0 +1,6 @@
+ $ cp "$TESTDIR/device-class.crush" .
+ $ crushtool -c device-class.crush -o device-class.compiled
+ $ crushtool -d device-class.compiled -o device-class.conf
+ $ crushtool -c device-class.conf -o device-class.recompiled
+ $ cmp device-class.crush device-class.conf
+ $ cmp device-class.compiled device-class.recompiled