summaryrefslogtreecommitdiffstats
path: root/src/test/cli/ceph-conf/invalid-args.t
blob: 43cedf2da16d35a394ac6698cf6baaa3012f9f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  $ cat >test.conf <<EOF
  > [bar]
  > bar = green
  > EOF

# TODO output an error
  $ ceph-conf -c test.conf broken
  [1]

  $ ceph-conf -c test.conf --name total.garbage
  error parsing 'total.garbage': expected string of the form TYPE.ID, valid types are: auth, mon, osd, mds, mgr, client
  [1]

  $ ceph-conf -c test.conf -s bar
  You must give an action, such as --lookup or --list-all-sections.
  Pass --help for more help.
  [1]