X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fceph-conf%2Finvalid-args.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fceph-conf%2Finvalid-args.t;h=43cedf2da16d35a394ac6698cf6baaa3012f9f09;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/ceph-conf/invalid-args.t b/src/ceph/src/test/cli/ceph-conf/invalid-args.t new file mode 100644 index 0000000..43cedf2 --- /dev/null +++ b/src/ceph/src/test/cli/ceph-conf/invalid-args.t @@ -0,0 +1,17 @@ + $ cat >test.conf < [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]