History log of /sssd/src/tests/cmocka/test_io.c
Revision Date Author Comments Expand
50c9d542e8bf641412debaa82a4dcf67ddb72258 18-Sep-2015 Lukas Slebodnik <lslebodn@redhat.com>

tests: Use unique name for TEST_PATH We had a cases in patch where two tests were using the same TEST_PATH and therefore they were stepping each other to the same files which caused failures. These failures are not easy to reproduce. This patch uses macro BASE_FILE_STEM for unique name. It should prevent copy&paste problem resulting to intermittent failures. @see also https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

4e5e846de22407f825fe3b4040d79606818a2419 11-Mar-2015 Jakub Hrozek <jhrozek@redhat.com>

tests: convert all unit tests to cmocka 1.0 or later All tests now use the cmocka-1.0-compatible API. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

f333ca01311000475db0fbd059243d05f9a90e96 16-May-2014 Lukas Slebodnik <lslebodn@redhat.com>

TEST: Refactor test_io Tests should not create resources. It is purpose of setup functions. Patch fixes also fd leaks from mkstemp. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

25255e4d0e1517a5d443e8fee22e91862e255702 02-May-2013 Abhishek Singh <abhishekkumarsingh.cse@gmail.com>

Fix segmentation fault in test_io. tests_set_cwd is used and relativepath calculation method is changed and is made general based on basedir.

ae6c1596225c65bec2a2dabff9eee4e3e0691181 10-Apr-2013 Abhishek Singh <abhishekkumarsingh.cse@gmail.com>

cmocka unittest for io added