Hello,
Do you have any idea what could be wrong with my environment?
Sorry for bothering, but this blocks my PR ..
Regard,
Chris
On 06/07/2018 02:18 PM, Chris Kowalczyk wrote:
Hello All,
I have been trying to run sssd intgcheck for some time. Thanks to your
help, there is some progress but I am not 'there' yet..
So, I managed to build the tests by using the following command:
> make intgcheck INTGCHECK_CONFIGURE_FLAGS="
--build=$SSS_ARCH-unknown-linux-gnu \
--host=$SSS_ARCH-unknown-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=$SSS_LIBDIR \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-nsslibdir=/$SSS_LIB \
--enable-pammoddir=/$SSS_LIB/security \
--with-krb5-rcache-dir=/var/cache/krb5rcache \
--with-initscript=systemd \
--with-syslog=journald \
--enable-all-experimental-features \
--cache-file=/tmp/sssd/fileconfig.cache \
--with-test-dir=/tmp/sssd/tests "
> echo $SSS_LIBDIR
/usr/lib64
> echo $SSS_LIB
lib64
This command is based on:
https://github.com/SSSD/sssd/blob/master/contrib/fedora/bashrc_sssd
The tests run but they (almost) all fail. What I discovered is that
the created test folder is rather empty:
/tmp/sssd-intg.33or699m
$ tree
.
├── etc
│ └── ldap
└── var
├── lib
└── run
5 directories, 0 files
( BTW, shouldn't the test folder be /tmp/sssd/tests, as I specified in
the make command? )
I was trying to modify various things but to no success - the test
folders were always empty. As a result, I get many errors from the
testcases like: "/tmp/sssd-intg.33or699m/etc/sssd/sssd.conf" or
"/tmp/sssd-intg.33or699m/lib64/getsockopt_wrapper.so".
Would you have any idea how to 'properly' point everything to be put
into those test folders?
Kind regards,
Chris