#2905 test_host_plugin fails if ipa-client/ipa-join executable is not in the tree
Closed: Fixed None Opened 11 years ago by jdennis.

3 tests in test_host_plugin are dependent on the existence of the ipa-join executable in the tree. If the tree was not built and ipa-join is not present the test produces misleading error messages that have nothing to do with the absence of the ipa-join executable leading one to debug problems which do not really exist.

The test should check for the existence of ipa-join and skip the test without error if it's not present (many other unit tests currently do something similar).

Maybe a better idea is to look for ipa-join in the tree, use it if present, if not look for it in it's installed location, if it's there use that version. If the installed version is not present then skip the test.


Metadata Update from @jdennis:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 3.0 Beta 2

7 years ago

Login to comment on this ticket.

Metadata