#1820 sysdb unit tests uses system memberof
Closed: Fixed None Opened 5 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

2 years ago

Login to comment on this ticket.

Metadata