summaryrefslogtreecommitdiffstats
path: root/src/test/cli/ceph-conf/sections.t
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/cli/ceph-conf/sections.t')
-rw-r--r--src/test/cli/ceph-conf/sections.t18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/cli/ceph-conf/sections.t b/src/test/cli/ceph-conf/sections.t
new file mode 100644
index 000000000..63063cc9e
--- /dev/null
+++ b/src/test/cli/ceph-conf/sections.t
@@ -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
+