[Freeipa-devel] [PATCH] 0235 tests: Use ipa-getkeytab from /usr/sbin instead of the in-tree one

Petr Viktorin pviktori at redhat.com
Tue Jun 4 11:48:23 UTC 2013


Hardcoding the in-tree location for ipa-getkeytab makes testing outside 
the source tree impossible. This patch makes the tests use the installed 
location.

In other places the test suite assumes IPA is installed system-wide, 
even if running from the source tree.
I know I frequently forget to run `make` before testing, which makes the 
ipa-getkeytab tests fail. So this patch would work well for me (and 
probably other Python devs), but I guess others might be used to `make 
test` checking what `make` built.

C developers, are you OK with e.g. adding `cp ipa-client/ipa-getkeytab 
/usr/sbin/ipa-getkeytab` to your testing workflow? Or should this be 
made configurable (or auto-detected)?

-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0235-tests-Use-ipa-getkeytab-from-usr-sbin-instead-of-the.patch
Type: text/x-patch
Size: 1154 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130604/04e18063/attachment.bin>


More information about the Freeipa-devel mailing list