summaryrefslogtreecommitdiffstats
path: root/src/tests/common.c
Commit message (Collapse)AuthorAgeFilesLines
* Default TEST_DIR to cwd, not empty string if not set explicitlyLukas Slebodnik2013-05-021-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.
* tests: Print warning if LDB_MODULES_PATH is not setMichal Zidek2013-03-201-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
* TESTS: Print messages when LDAP options do not matchStephen Gallagher2012-06-291-2/+10
|
* Add better tests for sdap_attr compabilityStephen Gallagher2012-03-281-0/+26
|
* Add better dp_option testsStephen Gallagher2012-03-281-0/+26
|
* Fix build when check-devel is not installedStephen Gallagher2010-03-121-82/+0
| | | | | tests/common.c is now required by all tests (check-based and not), so we need to properly ifdef it
* Add --with-test-dir option to configureStephen Gallagher2010-03-041-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
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+109
Also update BUILD.txt