Skip to contentSkip to conversation

CLI test for rbd

DISCUSSION Willem Jan Withagen 2 participants 3 messages Jul 16, 2017 – Jul 17, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

with the creation of rbd-ggate with FreeBSD we have run into a testing snag..

Of rbd tehere is a CLI command help test, that verifies that help generates help. But under FreeBSD that help is augmented with some ggate commands.

Do we really want/need that test?
And might I suggest to remove it, as it is IMHO not al that informative.

Otherwise we need to come up with something rather complex to make run-cli-tests work on FreeBSD as well.

--WjW

#1 lore raw

Feel free to disable that under FreeBSD -- I'm sure it's not the only test disabled. I don't want to remove the test outright since it exercises a normally untested code path and it helps to focus attention to the CLI documentation during reviews.

Quoted 20 lines · Willem Jan Withagen

Hi,

with the creation of rbd-ggate with FreeBSD we have run into a testing snag..

Of rbd tehere is a CLI command help test, that verifies that help generates help.
But under FreeBSD that help is augmented with some ggate commands.

Do we really want/need that test?
And might I suggest to remove it, as it is IMHO not al that informative.

Otherwise we need to come up with something rather complex to make run-cli-tests work on FreeBSD as well.

--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Jason
#2 lore raw
Quoted 4 lines · Jason Dillaman

Feel free to disable that under FreeBSD -- I'm sure it's not the only test disabled. I don't want to remove the test outright since it exercises a normally untested code path and it helps to focus attention to the CLI documentation during reviews.

Right,
That is the other option I did, but even then it would be sort of like cheating. So Mykola has some other changes up his sleeve, and supposedly it is possible to differentiate for other platforms altogether.

--WjW

Quoted 24 lines · Willem Jan Withagen
Quoted 20 lines

Hi,

with the creation of rbd-ggate with FreeBSD we have run into a testing snag..

Of rbd tehere is a CLI command help test, that verifies that help generates help.
But under FreeBSD that help is augmented with some ggate commands.

Do we really want/need that test?
And might I suggest to remove it, as it is IMHO not al that informative.

Otherwise we need to come up with something rather complex to make run-cli-tests work on FreeBSD as well.

--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html