Heimdal 7.5.0: Some tests are run even if feature is disabled and test not possible

Harald Barth <[email protected]> Tue, 08 Jan 2019 13:20:48 +0100 (CET)
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <[email protected]>
I did configure with --disable-digest (I thought why would I need NTLM related stuff).

Looks to me that the tests are not disabled when the feature is disabled.

../heimdal-7.5.0/configure --with-libintl --prefix=/usr/heimdal-7.5.0 --disable-kcm --with-openssl --disable-otp --enable-pthread-support --with-readline --disable-digest --with-ipv6 --enable-kx509 --without-openldap --enable-pk-init --with-x --localstatedir=/var --disable-silent-rules --disable-ndbm-db --enable-lmdb-db --enable-mdb-db

From the test output:

(...)
Getting digestserver initial tickets
======context building for each mech
ntlm
lt-test_context: accept_sec_context: gss-code: 851968  Miscellaneous failure (see text) -- mech-code: 0 unknown mech-code 0 for mech unknown
test failed
(...)

In total 2 tests fail (easy to reproduce)

When I do a --enable-digest instead, the tests pass.

Yes, the information what the different enable-xxx and with-xxx flags
do is a little sparse.

Happy new year,
Harald.