]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-detect-init: FreeBSD introduction of bsdrc 11906/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 8 Nov 2016 14:24:08 +0000 (15:24 +0100)
committerKefu Chai <kchai@redhat.com>
Mon, 14 Nov 2016 06:34:47 +0000 (14:34 +0800)
commitcea678641300a45371834b1263994063dccfe8ee
tree8339fb597f6749e20285618a5bda15dabb608457
parentddcb4a945a6a7ace41c9853214369e21c7762fd3
ceph-detect-init: FreeBSD introduction of bsdrc

ceph-detect-init/ceph_detect_init/freebsd/__init__.py
    New file

ceph_detect_init/__init__.py: Only test FreeBSD after it is not Linux

    If we do it the other way around it will not work during testing on FreeBSD
    because it will always have platform.system() == FreeBSD
    So first test for Linux, and only then check to see if it is FreeBSD.

ceph-detect-init/tests/test_all.py: add tests for FreeBSD
ceph-detect-init/run-tox.sh: ReEnable to run test for FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/ceph-detect-init/ceph_detect_init/__init__.py
src/ceph-detect-init/ceph_detect_init/freebsd/__init__.py [new file with mode: 0644]
src/ceph-detect-init/run-tox.sh
src/ceph-detect-init/tests/test_all.py