#1820 sysdb unit tests uses system memberof
Closed: Fixed None Opened 7 years ago by jhrozek.

Simo spotted this bug the other day. Seems like he's right:

$  strace -e open ./sysdb-tests 2>&1 | grep memberof
open("/usr/lib64/ldb/modules/ldb/memberof.la", O_RDONLY|O_CLOEXEC) = 6
ldb: unable to dlopen /usr/lib64/ldb/modules/ldb/memberof.la : /usr/lib64/ldb/modules/ldb/memberof.la: invalid ELF header
open("/usr/lib64/ldb/modules/ldb/memberof.so", O_RDONLY|O_CLOEXEC) = 6

We need to make sure the in-tree memberof is used for tests.


Affects unit tests only. No clone needed.

rhbz: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10 beta

Fields changed

owner: somebody => mzidek

We realized that the tests used the correct memberof if they were ran with "make check" and only defaulted to the system memberof when ran individually from the command line.

Michal added a warning if the test is using the system memberof.

Fixed in master - dfe8415

resolution: => fixed
review: => 0
status: new => closed

Metadata Update from @jhrozek:
- Issue assigned to mzidek
- Issue set to the milestone: SSSD 1.10 beta

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2862

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata