initial code repo
[stor4nfv.git] / src / ceph / src / test / cli / ceph-conf / sections.t
diff --git a/src/ceph/src/test/cli/ceph-conf/sections.t b/src/ceph/src/test/cli/ceph-conf/sections.t
new file mode 100644 (file)
index 0000000..63063cc
--- /dev/null
@@ -0,0 +1,18 @@
+  $ cat >test.conf <<EOF
+  > [bar]
+  > bar = green
+  > [foo]
+  > bar = blue
+  > [baz]
+  > bar = yellow
+  > [thud]
+  > bar = yellow
+  > EOF
+
+  $ ceph-conf -c test.conf -l bar
+  bar
+
+  $ ceph-conf -c test.conf -l b
+  bar
+  baz
+