I wanted to revie som patches, but test failed with unrelated issue to revieved
patch.
------------------------------------------
[ RUN ] test_sss_open_cloexec_success
mkstemp failed
fd != -1
ERROR: ../sssd/src/tests/cmocka/test_io.c:81 Failure!
[ FAILED ] test_sss_open_cloexec_success
[ RUN ] test_sss_open_cloexec_fail
[ OK ] test_sss_open_cloexec_fail
[ RUN ] test_sss_openat_cloexec_success
mkstemp failed
11
[ FAILED ] test_sss_openat_cloexec_success
[ RUN ] test_sss_openat_cloexec_fail
/bin/sh: line 5: 12545 Segmentation fault (core dumped)
LDB_MODULES_PATH=/dev/shm/sssd_build/ldb_mod_test_dir ${dir}$tst
FAIL: test-io
------------------------------------------
Attached patch fix this bug.
LS