summaryrefslogtreecommitdiff
path: root/src/tests/common.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-02Default TEST_DIR to cwd, not empty string if not set explicitlyLukas Slebodnik1-6/+2
If configure isn't being run with argument --with-test-dir, then variable TEST_DIR will be defined, but its value will be empty (""). In this case opendir will fail with uncatched error "Directory does not exist, or name is an empty string". Finally function call dirfd will segfault because its argument is NULL. I changed default value of TEST_DIR (if --with-test-dir was not used). Function tests_set_cwd does not ignore return value of chdir, because TEST_DIR should not be the empty string.
2013-03-20tests: Print warning if LDB_MODULES_PATH is not setMichal Zidek1-0/+9
Print warning if sysdb-tests or sysdb-ssh test are run individually and LDB_MODULES_PATH was not set. https://fedorahosted.org/sssd/ticket/1820
2012-06-29TESTS: Print messages when LDAP options do not matchStephen Gallagher1-2/+10
2012-03-28Add better tests for sdap_attr compabilityStephen Gallagher1-0/+26
2012-03-28Add better dp_option testsStephen Gallagher1-0/+26
2010-03-12Fix build when check-devel is not installedStephen Gallagher1-82/+0
tests/common.c is now required by all tests (check-based and not), so we need to properly ifdef it
2010-03-04Add --with-test-dir option to configureStephen Gallagher1-1/+17
All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+109
Also update BUILD.txt