summaryrefslogtreecommitdiff
path: root/src/tests/fail_over-tests.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-04Fixed setting of debug level in test suiteJan Zeleny1-2/+1
2011-08-25New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina1-1/+5
Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
2011-08-25New DEBUG facility - conversionPavel Březina1-1/+1
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
2011-07-21fo_get_server_name() getter for a server nameJakub Hrozek1-1/+1
Allows to be more concise in tests and more defensive in resolve callbacks
2011-07-21Rename fo_get_server_name to fo_get_server_str_nameJakub Hrozek1-1/+1
2011-06-16Test NULL server hostname in fail over testsJakub Hrozek1-8/+16
2011-06-15Switch resolver to using resolv_hostent and honor TTLJakub Hrozek1-3/+3
2010-12-14Fix uninitialized value error in setup_test in fail_over-tests.cSumit Bose1-0/+1
https://fedorahosted.org/sssd/ticket/728
2010-03-04Add --with-test-dir option to configureStephen Gallagher1-0/+2
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-22Restrict family lookupsJakub Hrozek1-2/+8
Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+304
Also update BUILD.txt