ceph/debian
Loic Dachary 8f0bb2f02f pybind: unit tests for ceph_argparse::parse_json_funcsigs
Run parse_json_funcsigs against the builtin commands found
in mon/MonCommands.h. Although it does not provide for a full
validation, it will detect some degenerate cases.

It is expected to raise if a space is missing at the end of an option
specification ( see https://github.com/ceph/ceph/pull/585 ) and this
case is tested. New tests of the same kind can be added whenever an
undetected error is found. Ideally a validation function is implemented
and it would be updated ( with an associated test ) when a new
pathological case is found.

The json string given to parse_json_funcsigs is obtained from
the support program get_command_descriptions.

The python-nose dependencies are added to the build requirements in
debian/control and ceph.spec.in because make check should always be run
at built time.

http://tracker.ceph.com/issues/6274 refs #6274

Reviewed-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-09-23 23:46:43 +02:00
..
source
.gitignore
ceph-common.install ceph-post-file: single command to upload a file to cephdrop 2013-08-16 17:59:11 -07:00
ceph-fs-common.install
ceph-fuse.install
ceph-mds.install
ceph-mds.postinst debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
ceph-mds.prerm debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
ceph-resource-agents.install
ceph-test.install cls/hello: hello, world rados class 2013-08-15 17:21:29 -07:00
ceph.dirs
ceph.docs
ceph.install Move rbdmap file to /etc/ceph 2013-07-02 16:53:11 +02:00
ceph.lintian-overrides
ceph.postinst debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
ceph.postrm
ceph.prerm debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
changelog v0.69 2013-09-18 01:40:51 +00:00
compat
control pybind: unit tests for ceph_argparse::parse_json_funcsigs 2013-09-23 23:46:43 +02:00
copyright hadoop: remove hadoop shim 2013-09-13 13:39:48 -07:00
libcephfs-dev.install
libcephfs-java.jlibs
libcephfs-jni.install
libcephfs1.install
librados-dev.install
librados2.install
librbd-dev.install
librbd1.install
python-ceph.install
radosgw.dirs
radosgw.install
radosgw.postinst debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
radosgw.prerm debian: guard upstart {start,stop} with -x check 2013-05-30 17:23:36 -07:00
rbd-fuse.install
rest-bench.install
rules Revert "Use dh_installinit to install upstart job files" 2013-07-30 13:31:35 -07:00
watch