mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
8f0bb2f02f
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> |
||
---|---|---|
.. | ||
source | ||
.gitignore | ||
ceph-common.install | ||
ceph-fs-common.install | ||
ceph-fuse.install | ||
ceph-mds.install | ||
ceph-mds.postinst | ||
ceph-mds.prerm | ||
ceph-resource-agents.install | ||
ceph-test.install | ||
ceph.dirs | ||
ceph.docs | ||
ceph.install | ||
ceph.lintian-overrides | ||
ceph.postinst | ||
ceph.postrm | ||
ceph.prerm | ||
changelog | ||
compat | ||
control | ||
copyright | ||
libcephfs1.install | ||
libcephfs-dev.install | ||
libcephfs-java.jlibs | ||
libcephfs-jni.install | ||
librados2.install | ||
librados-dev.install | ||
librbd1.install | ||
librbd-dev.install | ||
python-ceph.install | ||
radosgw.dirs | ||
radosgw.install | ||
radosgw.postinst | ||
radosgw.prerm | ||
rbd-fuse.install | ||
rest-bench.install | ||
rules | ||
watch |