aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/mock_*.c: Mark unused function arguments as such.Mike Gabriel2021-06-082-13/+22
| | | | | | | | | | | | | | | | | | | | This resolves: mock_pam.c: In function 'fake_conv': mock_pam.c:22:20: error: unused parameter 'num_msg' [-Werror=unused-parameter] 22 | int fake_conv (int num_msg, const struct pam_message **msg, | ~~~~^~~~~~~ mock_pam.c:23:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter] 23 | struct pam_response **resp, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ mock_pam.c: In function 'fake_conv_empty_password': mock_pam.c:51:35: error: unused parameter 'num_msg' [-Werror=unused-parameter] 51 | int fake_conv_empty_password (int num_msg, const struct pam_message **msg, | ~~~~^~~~~~~ mock_pam.c:52:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter] 52 | struct pam_response **resp, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ cc1: all warnings being treated as errors
* tests/mock_pam.h: Includ <security/_pam-types.h>, so that the PAM_NONNULL() ↵Mike Gabriel2021-06-081-0/+1
| | | | macro is defined.
* tests/mock_guest.c: Remove comment that is no longer true.Mike Gabriel2018-05-061-1/+0
|
* unit tests: Fix build and re-enable them.Mike Gabriel2018-05-056-69/+125
|
* tests/{mock_guest.c,test-freerdp-wrapper.cc}: Fix namespace (freerdp -> ↵Mike Gabriel2018-01-122-4/+4
| | | | freerdp2).
* tests/Makefile.am: Use correct .la file in src/ folder for linking the unit ↵Mike Gabriel2018-01-121-1/+1
| | | | tests.
* tests/Makefile.am: Define LIBPAM_COMPILE to disable libpam's PAM_NONNULL ↵Mike Gabriel2018-01-121-1/+2
| | | | check on pam_set_item() pam_get_item().
* tests/Makefile.am: Split-up CFLAGS/CXXFLAGS/CPPFLAGS properly. Esp. split ↵Mike Gabriel2018-01-121-2/+8
| | | | out flags for the pre-processor into CPPFLAGS.
* White-space clean-up.Mike Gabriel2017-12-073-11/+11
|
* unit test for empty password bugIftikhar Ahmad2013-03-193-0/+53
|
* Improving the test coverage for libpam-freerdpIftikhar Ahmad2012-10-163-0/+75
|
* Add a set cred call like LightDM does itTed Gould2012-09-191-0/+2
|
* Adding an authenticateTed Gould2012-09-191-0/+2
|
* Make sure we have the full path to execute the auth checkTed Gould2012-09-191-1/+1
|
* Make the auth use the auth check utilityTed Gould2012-09-192-1/+2
|
* Adding a small auth check utilityTed Gould2012-09-192-2/+70
|
* Set everything up so that the auth check binary can be different in the testsTed Gould2012-09-192-1/+4
|
* Make sure to close so we don't leave processes aroundTed Gould2012-09-191-0/+2
|
* Make sure to distribute the header filesTed Gould2012-09-191-2/+2
|
* Clean up Makefile and add proper filesTed Gould2012-09-191-26/+16
|
* Steal a bunch of test infrastructure from libpam-icaclientTed Gould2012-09-196-0/+340